From 84f08cf82b5d35376df4287daca07eb9538c2d76 Mon Sep 17 00:00:00 2001 From: Andrea Scarpino Date: Sun, 15 Feb 2009 23:22:33 +0100 Subject: Add 'Out of Date' detail in search form Signed-off-by: Loui Chang --- web/lib/pkgfuncs.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'web/lib') diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 150f552..5ce659e 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"]) { -- cgit v1.2.3-70-g09d2