Allow exposed form to preserve URL query parameters

Created on 6 March 2016, over 8 years ago
Updated 5 April 2024, 2 months ago

Problem/Motivation

If an exposed form is used on the same page with facets, it resets facet's URL parameters on each submit.

Proposed resolution

Add "Preserve query parameters from URL" option for the default exposed form plugin.

Remaining tasks

+ write patch
- write tests
- review

User interface changes

The "Preserve query parameters from URL" setting is added to the "Exposed form style" > "Settings" configuration form.

API changes

None.

Data model changes

The preserve_url_query_parameters option is added to views_exposed_form schema.

✨ Feature request
Status

Needs work

Version

11.0 πŸ”₯

Component
ViewsΒ  β†’

Last updated about 1 hour ago

Created by

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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.69.0 2024