summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-06-09 09:22:46 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-06-09 09:22:46 +0200
commit08cdc5ca64ec0373536af7d453f00df35a4c6648 (patch)
treeb4dcfe419f68e06005306ab24f42f7abf8c53d5d /web
parent6ce4433b882373430f6497e70fbd9dc370551e24 (diff)
downloadaurweb-08cdc5ca64ec0373536af7d453f00df35a4c6648.tar.xz
Invert order when sorting packages by age
Fixes FS#44195. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web')
-rw-r--r--web/lib/pkgfuncs.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php
index b467a3d..a5f24ba 100644
--- a/web/lib/pkgfuncs.inc.php
+++ b/web/lib/pkgfuncs.inc.php
@@ -677,7 +677,7 @@ function pkg_search_page($SID="") {
$q_sort .= "Maintainer " . $order . ", ";
break;
case 'a':
- $q_sort .= "ModifiedTS " . $order . ", ";
+ $q_sort .= "-ModifiedTS " . $order . ", ";
break;
default:
break;