summaryrefslogtreecommitdiffstats
path: root/web/lib/pkgfuncs.inc.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-12-28 17:44:25 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2014-12-28 17:44:25 +0100
commitd1df490370f420bbf653cd1968d0178fa0a7b42c (patch)
tree3d8be33266b5a54d656cdb24093ee6b590c15b30 /web/lib/pkgfuncs.inc.php
parent9bb93fad7506696a7bc089b4153784dec6214c73 (diff)
downloadaur-d1df490370f420bbf653cd1968d0178fa0a7b42c.tar.gz
aur-d1df490370f420bbf653cd1968d0178fa0a7b42c.tar.xz
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 <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/pkgfuncs.inc.php')
-rw-r--r--web/lib/pkgfuncs.inc.php2
1 files changed, 1 insertions, 1 deletions
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.