Skip to content

Commit

Permalink
change key word for is null filter
Browse files Browse the repository at this point in the history
  • Loading branch information
jesusantguerrero committed Aug 20, 2019
1 parent ba6e213 commit 3bbd35e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QueryParserCustomFields.php
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ private function prepareNormalSql(array $searchCriteria, string $classname, stri
$operator = 'LIKE';
}

if (in_array($value, ['!!', '~~'])) {
if ($value == 'null') {
$logicConector = !$vKey ? " " . $andOr .' (' : ' OR ';
$sql .= $logicConector . $classname . '.' . $searchField . ' IS NULL';
} else {
Expand Down

0 comments on commit 3bbd35e

Please sign in to comment.