Mode query parameter is lost when using exposed filters on blocks

Created on 20 December 2022, almost 2 years ago
Updated 16 September 2024, 3 months ago

Problem/Motivation

When you have 2 (or more) blocks between which you can switch and you have exposed filters on these blocks, applying the filters forgets the 'mode' query paramater. Because of this, the website "forgets" which display should be shown.

Steps to reproduce

  1. Add two block displays: Block 1 and Block2
  2. Add a display switch from this module in the display's header
  3. Put Block 1 on a page
  4. Click the link to switch to Block 2
  5. Apply a filter
  6. The page refreshes and Block 1 is shown again

Proposed resolution

Make sure the query parameter 'mode' is not forgotten.

Remaining tasks

User interface changes

N/A

API changes

Data model changes

Feature request
Status

Closed: works as designed

Version

1.1

Component

Code

Created by

🇧🇪Belgium stefdewa

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