The "Reset" link resets all filters instead of only chosen ones

Created on 24 September 2025, 13 days ago

Problem/Motivation

When we choose not all filters in the "Views Exposed Filters Summary" area settings, but only several, the "Reset" link still resets all exposed filters, instead of only the chosen ones.

Steps to reproduce

1. Using the default Drupal setup, create a view page listing all nodes, and expose two filters: "Content Type", "Tags".
2. Create a couple of nodes and tags.
3. Add the "Views Exposed Filters Summary" area to the view, in the settings choose only "Tags" filter.
4. Open the view page, choose "Content Type = Article" and "Tags = Tag1", apply the filter.
5. Click on the "Reset" link.

Expected result: Only the "Tags" exposed filter values should be reset.
Actual result: The "Content Type = Article" is reset too.

Proposed resolution

Add handling of the list of selected filters, and skip resetting filters that are not selected.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇦🇲Armenia murz Yerevan, Armenia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024