summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-03-04 07:33:44 +0100
committerYorhel <git@yorhel.nl>2021-03-04 07:33:46 +0100
commit5d54a844aba404e16280dcbd1ec3dffc9be4dfe1 (patch)
treebbffe404e20d04951c8bb771308df2384f170195 /lib
parenta38b2fadcac269057cb08e4367d28819cc300413 (diff)
API: Fix staff (id=[array]) filter
https://vndb.org/t12641.19
Diffstat (limited to 'lib')
-rw-r--r--lib/Multi/API.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Multi/API.pm b/lib/Multi/API.pm
index ad40d491..405c68c3 100644
--- a/lib/Multi/API.pm
+++ b/lib/Multi/API.pm
@@ -1021,7 +1021,7 @@ my %GET_STAFF = (
filters => {
id => [
[ 'int' => 's.id :op: :value:', {qw|= = != <> > > < < <= <= >= >=|}, process => \'s' ],
- [ inta => 's.id :op:(:value:)', {'=' => 'IN', '!=' => 'NOT IN'}, range => [1,1e6], process => \'s' ],
+ [ inta => 's.id :op:(:value:)', {'=' => 'IN', '!=' => 'NOT IN'}, process => \'s' ],
],
aid => [
[ 'int' => 's.id IN(SELECT sa.id FROM staff_alias sa WHERE sa.aid = :value:)', {'=',1}, range => [1,1e6] ],