This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via 8dd1dc5aecd649469f66875d61fd40dcb8bba976 (commit)
from c402e478e71bb48093f861bcda6431a0ca826b65 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=8dd1dc5aecd649469f66875d61fd40dcb8bba976
commit 8dd1dc5aecd649469f66875d61fd40dcb8bba976
Author: Franck Villaume <[email protected]>
Date: Sat Mar 4 17:06:16 2017 +0100
missing DESC order
diff --git a/src/common/widget/Widget_ProjectLatestArtifacts.class.php
b/src/common/widget/Widget_ProjectLatestArtifacts.class.php
index ff98a6e..ff28c8f 100644
--- a/src/common/widget/Widget_ProjectLatestArtifacts.class.php
+++ b/src/common/widget/Widget_ProjectLatestArtifacts.class.php
@@ -64,7 +64,7 @@ class Widget_ProjectLatestArtifacts extends Widget {
foreach ($ats as $at) {
$atids[] = $at->getID();
}
- $artifacts = db_query_params('SELECT * FROM artifact_vw WHERE
group_artifact_id = ANY ($1) ORDER BY last_modified_date, artifact_id',
array(db_int_array_to_any_clause($atids)), self::NB_ARTIFACTS_TO_DISPLAY);
+ $artifacts = db_query_params('SELECT * FROM artifact_vw WHERE
group_artifact_id = ANY ($1) ORDER BY last_modified_date DESC, artifact_id',
array(db_int_array_to_any_clause($atids)), self::NB_ARTIFACTS_TO_DISPLAY);
if (db_numrows($artifacts) > 0) {
html_use_tablesorter();
$html .= $HTML->getJavascripts();
-----------------------------------------------------------------------
Summary of changes:
src/common/widget/Widget_ProjectLatestArtifacts.class.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits