Afform/SearchKit filters: date range filter not working
I have a searchkit results table in a Form Builder display with a filter on a date field.
Other date filters (eg 'today', 'this year') work correctly, but the 'date range' does not. Looking at the network activity from the browser shows 'filters' is empty:
calls: [["SearchDisplay","run",{"return":"page:1","savedSearch":"Certifications","display":"Certifications","sort":{},"limit":50,"seed":1657202704442,"filters":{},"afform":"afsearchCertifications"}]]
To reproduce:
- install https://lab.civicrm.org/extensions/certifications on master
- use
Certifications > New Certification Type
to create a new type: (eg name: 'First Aid', validity: 3 years) - use
Certifications > New Certification
to create a new certification - go to
Certifications > List Certifications
- expand filters, note that 'date range' filter on either date field does not work - open browser's dev tools network tab and note
"filters":{}