Commit a9ceafc3 authored by DanielKulbe's avatar DanielKulbe Committed by Neslee
Browse files

Issue #3163486 by Daniel Kulbe: Exposed filter with the operator "between" not...

Issue #3163486 by Daniel Kulbe: Exposed filter with the operator "between" not moving to secondary options block
parent d4d05dca
......@@ -84,6 +84,7 @@ class DatePickers extends FilterWidgetBase {
*/
$fields = ['min', 'max', 'value'];
if (count(array_intersect($fields, array_keys($form[$field_id])))) {
$form[$field_id]['#type'] = 'container';
foreach ($fields as $field) {
if (isset($form[$field_id][$field])) {
$form[$field_id][$field]['#attributes']['class'][] = 'bef-datepicker';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment