diff options
Diffstat (limited to 'web/lib')
-rw-r--r-- | web/lib/pkgfuncs.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 150f5527..5ce659ef 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -449,6 +449,10 @@ function pkg_search_page($SID="") { $q.= "AND MaintainerUID = 0 "; } + if (isset($_GET['outdated'])) { + $q .= "AND OutOfDate = 1 "; + } + $order = $_GET["SO"] == 'd' ? 'DESC' : 'ASC'; switch ($_GET["SB"]) { |