[Legacy] Fix date fields not searching

This commit is contained in:
Jack Anderson 2024-12-03 09:53:51 +00:00
parent 9502ae08d0
commit f9a90ea115

View file

@ -125,14 +125,14 @@ $filter_operator_map = [
],
'date' => [
'=' => [
'{field}_{type}_range_choice' => '{operator}',
'range_{field}_{type}' => '{target}'
'{field}_{type}' => 'values',
'{field}_{type}_range_choice' => '',
],
],
'datetime' => [
'=' => [
'{field}_{type}_range_choice' => '{operator}',
'range_{field}_{type}' => '{target}'
'{field}_{type}' => 'values',
'{field}_{type}_range_choice' => '',
],
]
];