mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fixed bug in the new update list where it doesn't list most of the updated packages, listing instead mostly new ones
This commit is contained in:
parent
65b5c8b0de
commit
d9a2a5ea99
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue