Needs work
Project:
Views Exposed Filters Summary
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Feb 2026 at 18:24 UTC
Updated:
3 Mar 2026 at 19:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
mably commentedHi @brayn7, thanks for your MR.
Could we have a full reproducible scenario from a fresh Drupal 11 instance please?
And it would be great to have this covered by a javascript functional test.
Comment #4
mably commentedI added a few new JS tests that still seem to work with
selectedIndex = -1.I kept your code searching for empty value but put back
selectedIndexto-1by default for now to avoid breaking things.We definitely need a reproducible scenario to advance further on this issue.
Comment #5
grevil commentedComment #6
grevil commentedOk, this is fairly hard to reproduce inside a test... Originally I thought, this behavior is easily reproducible by simply setting it up with "views_filters_summary" + "better_exposed_filters", so I added the "ViewsFiltersSummaryBefTest".
But even then, it succeeds without the changes in views-filters-summary.js. So I looked at our original view, and there are even more advanced settings coming from other third party modules.:
Our view filter:
vs. the filter in the test:
I already spent a lot of time on this, since I didn't directly tackle this issue, so I have to cancel here.
TL;DR: I added a proper test and views filter, but the views filter needs further setting exposed from other third party modules to reproduce this issue.
Comment #7
grevil commentedOk we are also using https://www.drupal.org/project/selective_better_exposed_filters. So it might be a setting related to that. I'll come back to this!
Comment #8
grevil commentedStatic patch for the time being.
Comment #9
brayn7 commentedSorry for the horrible ticket. @grevil's work does soundly fix my issue. Which when using ajax and facets clicking on a pill to remove a filter did nothing but reload the view with no changes. That was for a single select. Selects with multiple turned on still has the same issue as well even with the new patch.
Additionally the clear filters link doesn't do anything either.
I do think this has to do with compatibility with the facets module potentially.