summaryrefslogtreecommitdiff
path: root/web/html/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/index.php')
-rw-r--r--web/html/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/index.php b/web/html/index.php
index cf365fc..d23ee35 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -132,7 +132,7 @@ print "<td class='boxSoft' valign='top'>";
#Hey, how about listing the newest pacakges? :D
$q = "SELECT * FROM Packages ";
$q.= "WHERE DummyPkg != 1 ";
-$q.= "ORDER BY SubmittedTS DESC ";
+$q.= "ORDER BY GREATEST(SubmittedTS,ModifiedTS) DESC ";
$q.= "LIMIT 0 , 10";
$result = db_query($q,$dbh);
# Table 2