summaryrefslogtreecommitdiff
path: root/lib/Multi/API.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-03-05 07:16:14 +0100
committerYorhel <git@yorhel.nl>2021-03-05 07:16:14 +0100
commit5e59f54f2c3f4e23d14639bd03a892dad6ac0243 (patch)
tree1474f2fa5f2e71c99e2a70e9554437ccfba0f819 /lib/Multi/API.pm
parent7c9e24b57a5eaa1b026833ca11cba7a451cf8556 (diff)
API: *Actually* fix staff (id=[array]) filter
Diffstat (limited to 'lib/Multi/API.pm')
-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 e5a00530..96ed9c65 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'}, process => \'s' ],
+ [ inta => 's.id :op:(:value:)', {'=' => 'IN', '!=' => 'NOT IN'}, join => ',', process => \'s' ],
],
aid => [
[ 'int' => 's.id IN(SELECT sa.id FROM staff_alias sa WHERE sa.aid = :value:)', {'=',1}, range => [1,1e6] ],