In CheckboxViewHelper all checkboxes for boolean filters are disabled by default, due to a type mismatch.
In Line 110
!in_array((int)$objectId, $this->arguments['possibleFilters'][$propertyName], true)
is always true as (int)$objectId of 'true' or 'false' does never equal the string-array-values of 'true'/'false'.
Solution 1: remove (int)-cast and strict-comparison
CheckboxViewHelper.php L 110
!in_array($objectId, $this->arguments['possibleFilters'][$propertyName]))
Solution 2:
FilterService.php L173 ff
Initialising with 1 / 0 instead of 'true'/'false' also solves this problem.
But I am not sure, if there are side effects??
In CheckboxViewHelper all checkboxes for boolean filters are disabled by default, due to a type mismatch.
In Line 110
!in_array((int)$objectId, $this->arguments['possibleFilters'][$propertyName], true)
is always true as (int)$objectId of 'true' or 'false' does never equal the string-array-values of 'true'/'false'.
Solution 1: remove (int)-cast and strict-comparison
CheckboxViewHelper.php L 110
!in_array($objectId, $this->arguments['possibleFilters'][$propertyName]))Solution 2:
FilterService.php L173 ff
Initialising with 1 / 0 instead of 'true'/'false' also solves this problem.
But I am not sure, if there are side effects??