[aur-dev] [PATCH] Invert order when sorting packages by age

Lukas Fleischer lfleischer at archlinux.org
Tue Jun 9 07:24:39 UTC 2015


Fixes FS#44195.

Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
---
 web/lib/pkgfuncs.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
2.4.2


More information about the aur-dev mailing list