Limit active filter clearing to the active filter's view

Created on 26 February 2025, about 1 month ago

Problem/Motivation

Currently clearing of active filters searches the whole document for the first instance of the form field by name. If there is another form earlier in the DOM with an element of the same name, active filters clears that one instead of the exposed filter.

Proposed resolution

Attempt to scope the active filter removal to the view that it's associated with by the searching up the DOM for .view, .views-element-container, main elements. If none exist, then search the entire DOM for the first selector match.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States benabaird

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024