Redirection issue fix when multiple exposed forms are used in one page

Created on 7 November 2023, about 1 year ago
Updated 19 September 2024, 3 months ago

Redirection issue fix when multiple exposed forms are used in one page

Steps to Reproduce

  1. Create 2 views with exposed forms which use view filters summary to have searched words as tags.
  2. place one block as full text search in header and another as view page
  3. now when you filter on the view page , and hit clear all to reset the full text search field, the page should ideally refresh but in this sceanrio it will go to the header block view page

Proposed Solution

The above issue happens because in the js we are targeting the nth child . when we have 2 exposed filters on one page, there are 2 similar class combination because of which the first one is taken. We should check for parent class and then trigger the click in clickhandler()

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇳India Aish17895

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

Comments & Activities

Production build 0.71.5 2024