Problem/Motivation

When using exposed filters or facets it is useful to allow preserving URL query parameters to keep filters selection.

Steps to reproduce

1. Create a search view with exposed filters
2. Place Simple Search Form block in the same page as view
3. Apply exposed filter on view
4. Input a text to search and submit
5. Exposed filter values get lost

Proposed resolution

This issue is similar to #2681953: Allow exposed form to preserve URL query parameters so solution could be similar as well.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

piggito created an issue. See original summary.

piggito’s picture

Assigned: piggito » Unassigned
Status: Active » Needs review
Related issues: +#2681953: Allow exposed form to preserve URL query parameters
andypost’s picture

Status: Needs review » Needs work

use request from FormBase

Antonnavi made their first commit to this issue’s fork.

  • piggito committed 0c3655b on 8.x-1.x
    Issue #3219000: Support "preserve URL query parameters"
    
antonnavi’s picture

Status: Needs work » Fixed

Hello all here!

The merge request was Tested & Fixed & Merged.
Thanks all for help!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.