summaryrefslogtreecommitdiffstats
path: root/web/lib/pkgfuncs.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib/pkgfuncs.inc.php')
-rw-r--r--web/lib/pkgfuncs.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php
index 62bea65..600e590 100644
--- a/web/lib/pkgfuncs.inc.php
+++ b/web/lib/pkgfuncs.inc.php
@@ -755,7 +755,11 @@ function pkg_search_page($SID="") {
case 'm':
$q_sort .= "Maintainer " . $order . ", ";
break;
+ case 'l':
+ $q_sort .= "ModifiedTS " . $order . ", ";
+ break;
case 'a':
+ /* For compatibility with old search links. */
$q_sort .= "-ModifiedTS " . $order . ", ";
break;
default: