Exposed filters in views only work once

Created on 30 October 2017, almost 8 years ago
Updated 19 August 2025, about 1 month ago

Problem/Motivation

When I include a view with exposed filters then the filters only work once. In js/entity_browser.view.js there is a .once function that attaches the exposed filter functionality to the form with a certain id. However when the form is submitted the first time the id changes.

Proposed resolution

I didn't have time to figure out why the id changes, so I have the temporary solution where I use the class instead of the ID. The class stays the same.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Miscellaneous

Created by

🇳🇱Netherlands MarcKwee

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

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