summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-04-05 17:41:47 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-04-05 17:42:19 +0200
commit724a73781539291e67b95cf89bc07b7a8193ecf1 (patch)
tree27295c70bed2baa791b8938ba3a299951b592014
parentf08bfa5d014ac99e93deea2e0fd62fa59ee6be82 (diff)
downloadaurweb-724a73781539291e67b95cf89bc07b7a8193ecf1.tar.xz
Fix searching by category
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-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 f5eb11d..76fed89 100644
--- a/web/lib/pkgfuncs.inc.php
+++ b/web/lib/pkgfuncs.inc.php
@@ -422,7 +422,7 @@ function pkg_search_page($SID="") {
* variable values more sensible.
*/
if (isset($_GET["C"]) && intval($_GET["C"])) {
- $q_where .= "AND Packages.CategoryID = ".intval($_GET["C"])." ";
+ $q_where .= "AND PackageBases.CategoryID = ".intval($_GET["C"])." ";
}
if (isset($_GET['K'])) {