mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Fix searching by category
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
f08bfa5d01
commit
724a737815
1 changed files with 1 additions and 1 deletions
|
@ -422,7 +422,7 @@ function pkg_search_page($SID="") {
|
||||||
* variable values more sensible.
|
* variable values more sensible.
|
||||||
*/
|
*/
|
||||||
if (isset($_GET["C"]) && intval($_GET["C"])) {
|
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'])) {
|
if (isset($_GET['K'])) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue