From d1df490370f420bbf653cd1968d0178fa0a7b42c Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sun, 28 Dec 2014 17:44:25 +0100 Subject: Hide fresh package bases from stats and results Do not show package bases that have just been created in the package update statistics or in the search results. Signed-off-by: Lukas Fleischer --- web/lib/pkgfuncs.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/lib/pkgfuncs.inc.php') diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php index 0c7f2d9e..c71358a7 100644 --- a/web/lib/pkgfuncs.inc.php +++ b/web/lib/pkgfuncs.inc.php @@ -563,7 +563,7 @@ function pkg_search_page($SID="") { $q_from_extra = ""; } - $q_where = "WHERE 1 = 1 "; + $q_where = 'WHERE PackageBases.PackagerUID IS NOT NULL '; /* * TODO: Possibly do string matching on category to make request * variable values more sensible. -- cgit v1.2.3-24-g4f1b