Commit 724a7378 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Fix searching by category



Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
parent f08bfa5d
......@@ -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'])) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment