mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
aurjson: Fix multiinfo when using package IDs
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
bc93e68dc7
commit
cf6470803e
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ class AurJSON {
|
||||||
$where_condition = "";
|
$where_condition = "";
|
||||||
if ($ids) {
|
if ($ids) {
|
||||||
$ids_value = implode(',', $args['ids']);
|
$ids_value = implode(',', $args['ids']);
|
||||||
$where_condition .= "ID IN ($ids_value) ";
|
$where_condition .= "Packages.ID IN ($ids_value) ";
|
||||||
}
|
}
|
||||||
if ($ids && $names) {
|
if ($ids && $names) {
|
||||||
$where_condition .= "OR ";
|
$where_condition .= "OR ";
|
||||||
|
|
Loading…
Add table
Reference in a new issue