diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-04-05 17:41:47 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-04-05 17:42:19 +0200 |
commit | 724a73781539291e67b95cf89bc07b7a8193ecf1 (patch) | |
tree | 27295c70bed2baa791b8938ba3a299951b592014 /web/lib | |
parent | f08bfa5d014ac99e93deea2e0fd62fa59ee6be82 (diff) |
Fix searching by category
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib')
-rw-r--r-- | web/lib/pkgfuncs.inc.php | 2 |
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'])) { |