mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Changed the default order of comments to DESC
instead of ASC because sometimes we have to scroll a lot to reach the latest comment.
This commit is contained in:
parent
18b18eb7b0
commit
5e32d69d99
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ function package_comments($pkgid=0) {
|
|||
$q.= "WHERE PackageComments.UsersID = Users.ID";
|
||||
$q.= " AND PackageID = ".mysql_escape_string($pkgid);
|
||||
$q.= " AND DelUsersID = 0"; # only display non-deleted comments
|
||||
$q.= " ORDER BY CommentTS ASC";
|
||||
$q.= " ORDER BY CommentTS DESC";
|
||||
$result = db_query($q, $dbh);
|
||||
if (!$result) {return array();}
|
||||
while ($row = mysql_fetch_assoc($result)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue