When invalid operator terms, use print_r on the term instead of just the operator
This commit is contained in:
parent
d4b59211cd
commit
5b0509e000
|
@ -1341,7 +1341,7 @@ function parseFilter(&$filter, $saveToSession=false, $querySep='&') {
|
|||
$filter['sql'] .= " IS NOT $value";
|
||||
break;
|
||||
default:
|
||||
ZM\Warning("Invalid operator in filter: " . $term['op'] );
|
||||
ZM\Warning('Invalid operator in filter: ' . print_r($term['op'], true));
|
||||
} // end switch op
|
||||
|
||||
$filter['query'] .= $querySep.urlencode("filter[Query][terms][$i][op]").'='.urlencode($term['op']);
|
||||
|
|
Loading…
Reference in New Issue