I have applied default bool filter in clientDefs.json like so:
On page load it did the job and applied filter for fetching records from DB, but on fron-end this bool filter appears to be unchecked.
I want to know what am I missing in my config? Also did I applied default bool filter the right way? Because when I tried just "bool": "notClosed" I have been getting ERROR: (500) Empty bool filter name.; GET /Task; line: 91, file: /var/www/espocrm/application/Espo/Core/Select/Bool/FilterFactory.php
PHP Code:
"defaultFilterData": {
"bool": {
"notClosed": "notClosed"
}
}
I want to know what am I missing in my config? Also did I applied default bool filter the right way? Because when I tried just "bool": "notClosed" I have been getting ERROR: (500) Empty bool filter name.; GET /Task; line: 91, file: /var/www/espocrm/application/Espo/Core/Select/Bool/FilterFactory.php
Comment