Skip to content

Commit

Permalink
Dev - fix: Null handing for SearchPanes on cascade
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanJard committed Aug 31, 2023
1 parent 9104737 commit b609325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor/SearchPaneOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ public function exec($field, $editor, $http, $fields, $leftJoinIn)
for ($j = 0, $jen = count($http['searchPanes'][$fieldName]); $j < $jen; ++$j) {
$q->or_where(
$fieldOpt->dbField(),
isset($http['searchPanes_null'][$fieldName][$j])
isset($http['searchPanes_null'][$fieldName][$j]) && $http['searchPanes_null'][$fieldName][$j] === 'true'
? null
: $http['searchPanes'][$fieldName][$j],
'='
Expand Down

0 comments on commit b609325

Please sign in to comment.