fix: [API] Invalid negative lookup fixed

pull/4529/head
iglocska 2019-04-23 14:02:27 +02:00
parent 84a24ede4a
commit 82b5b37b8f
1 changed files with 1 additions and 1 deletions

View File

@ -1872,7 +1872,7 @@ class AppModel extends Model
$filter = array();
foreach ($temp as $f) {
if ($f[0] === '!') {
$filter['NOT'][] = $f;
$filter['NOT'][] = substr($f, 1);
} else {
$filter['OR'][] = $f;
}