- Issue created by @scambler
- Merge request !11724Issue #3471490 by scambler: Multi-selected grouped view filters fixed → (Closed) created by Unnamed author
- 🇳🇿New Zealand quietone
Changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to the Core change policies → .
Drupal 10 is now an LTS, or in maintenance mode, and there are limited allowed changes for a maintenance minor release → .
- Merge request !11755Issue #3517198: Fix grouped view filters to work with multivalue selections → (Open) created by Unnamed author
Thanks @quietone. I've made a bit of a mess, but I think I've done it right this time.
- 🇺🇸United States smustgrave
Thanks for reporting, will also need a test case showing the issue.
- 🇮🇳India anju.philip@zyxware.com
Hi, I've verified and tested MR! 11755 and applied the patch successfully on 11. x-dev Version: The changes are working as expected.
- Create a Test Content Type : Go to /admin/structure/Content types/Add content type
- Add a List (text) Field: Go to Manage fields for Test Content. Add a field: Category (List (text)).Add the allowed values: eg, one, two, three. Create at least 3 items, assigning various Category values
- Create Some Content: Go to Content > Add content > Test Content
- Create a View: Go to Structure > Views > Add view. Show: Content of type Test Content. Create a page display. Check "Create a page", set path (e.g. /test-filter)
- Add Exposed Filter: In your view:. Click Add Filter Criteria. Choose the Category field you created. Click Expose this filter to visitors. Check Allow multiple selections. Click Grouped filters. Add groups, eg, G1 one and two, G2 three .Save the view
- Test the Filter Behavior: Visit your view page (/test-filter). Try selecting Group 1 and Group 2
- Observed the changes here
Testing Result:
After selecting the multi-selected filter, the OR function is working (You can see all content with either one, two, or three). Hence, the changes are working as expected.
Attaching the videos for reference.
Hence, moving to RTBC!
Thanks
- 🇮🇳India anju.philip@zyxware.com
Hi, I've verified and tested MR! 11755 and applied the patch successfully on 11. x-dev Version: The changes are working as expected.
- Create a Test Content Type : Go to /admin/structure/Content types/Add content type
- Add a List (text) Field: Go to Manage fields for Test Content. Add a field: Category (List (text)).Add the allowed values: eg, one, two, three. Create at least 3 items, assigning various Category values
- Create Some Content: Go to Content > Add content > Test Content
- Create a View: Go to Structure > Views > Add view. Show: Content of type Test Content. Create a page display. Check "Create a page", set path (e.g. /test-filter)
- Add Exposed Filter: In your view:. Click Add Filter Criteria. Choose the Category field you created. Click Expose this filter to visitors. Check Allow multiple selections. Click Grouped filters. Add groups, eg, G1 one and two, G2 three .Save the view
- Test the Filter Behavior: Visit your view page (/test-filter). Try selecting Group 1 and Group 2
- Observed the changes here
Testing Result:
After selecting the multi-selected filter, the OR function is working (You can see all content with either one, two, or three). Hence, the changes are working as expected.Attaching the videos for reference.
Hence, moving to RTBC!
Thanks The Needs Review Queue Bot → tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
- Status changed to RTBC
about 2 months ago 11:00am 6 August 2025 - 🇳🇿New Zealand quietone
@scambler, thanks for providing a fix and a test. In Drupal, the change needs to be reviewed by peers and set to RTBC by a community member.
There are lot of views issues and this seems a basic problem so I am tagging for a subsystem maintainer reviews. Also, are there duplicates of this issue?
I tested this with Umami on 11.x and confirmed the problem exists. However, applying the MR did not fix the problem. Maybe I misunderstood the steps to reproduce.
I'm triaging RTBC issues → . I read the IS, the comments and the MR (not a code review). I have restored the standard template and updated the remaining tasks.