diff --git a/web/html/index.php b/web/html/index.php index cf365fc1..d23ee351 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -132,7 +132,7 @@ print ""; #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