Skip to content

Commit 8bf7a32

Browse files
authored
Merge pull request #29 from mterchila/patch-1
Adds 'NOT_IN' filter support
2 parents dca20aa + fa21be0 commit 8bf7a32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Api/Filter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function toArray()
3737
];
3838
}
3939

40-
if ($this->operator === 'IN') {
40+
if ($this->operator === 'IN' || $this->operator === 'NOT_IN') {
4141
return [
4242
'propertyName' => $this->property,
4343
'operator' => $this->operator,
@@ -76,4 +76,4 @@ protected function translateOperator($operator): string
7676
'not like' => 'NOT_CONTAINS_TOKEN'
7777
], strtolower($operator), $operator);
7878
}
79-
}
79+
}

0 commit comments

Comments
 (0)