summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib')
-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 62bea652..600e5905 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: