- Issue created by @victonator
- 🇧🇪Belgium victonator
When commenting code in the views module in file core/modules/views/src/Plugin/views/filter/FilterPluginBase.php (Line 957-962) It works as expected.
if ((!empty($this->options['expose']['use_operator']) && !empty($this->options['expose']['operator_id'])) || count(Element::children($form[$value]))) { $wrapper = $value . '_wrapper'; $this->buildValueWrapper($form, $wrapper); $form[$wrapper][$value] = $form[$value]; unset($form[$value]); }
- Assigned to shailja179
- Status changed to Needs work
over 1 year ago 7:16am 4 May 2023 - Status changed to Needs review
over 1 year ago 8:43am 5 May 2023 - 🇮🇳India shailja179 India
This patch will fix the issue for checkboxes. Try it with latest version(6.0.3) of module.
- last update
over 1 year ago Patch Failed to Apply - 🇧🇪Belgium victonator
Patch #4 works, but when a lot of checkboxes are present, a scrollable element is needed (Like before) else the filter will be really long.
- 🇧🇪Belgium victonator
Nevermind my previous comment #6, Patch #4 works like intended
- 🇦🇺Australia fluidstack
I can confirm Patch # 4 works as expected. However, i just logged a new issue very similar to this, but it is using the "Remember the last selection" feature. https://www.drupal.org/project/better_exposed_filters/issues/3359182 🐛 BEF checkboxes - Allow multiple selections - Remember the last selection Active
-
smustgrave →
committed d58a17cf on 6.0.x
Issue #3357961 by shailja179: Checkbox filter widget not working when...
-
smustgrave →
committed d58a17cf on 6.0.x
- Status changed to RTBC
7 months ago 3:26pm 11 April 2024 - 🇺🇸United States smustgrave
Confirmed the issue and that the patch solves the issue.
- Status changed to Fixed
7 months ago 3:27pm 11 April 2024 Automatically closed - issue fixed for 2 weeks with no activity.