Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleared filter is still applied after switching verticals #3701

Open
brendanblatz opened this issue Apr 18, 2024 · 0 comments
Open

Cleared filter is still applied after switching verticals #3701

brendanblatz opened this issue Apr 18, 2024 · 0 comments
Labels
Needs: Triage Needs investigation and repro

Comments

@brendanblatz
Copy link

Version used
4.11

Describe the bug
I have a page with 2 verticals setup, each vertical has it's own search results and filters web parts that are configured with the same property but a slightly different base query in the results web part. When selecting a filter in one vertical then clearing it and navigating to the next vertical. the filter is still applied even though it is no longer in the URL. You can see the filtered data in the results, but the filter is not selected in the filters web part and can't be cleared without selected and deselecting the filter item.

To Reproduce
Detailed steps to reproduce the behavior:

  1. Start on one of the verticals pages
  2. Select a filter in the default vertical
  3. Data is filtered in results and filter is added to URL
  4. Clear the filter
  5. Data is reset in the results, and filter is removed from URL
  6. Navigate to the next vertical
  7. Data is still filtered, but not shown in filter

Expected behavior
No filter is applied after switching verticals when no filter is currently selected

Screenshots

Desktop (please complete the following information):

  • Chrome (latest)
  • Edge (latest)

Additional context
If the vertical is switched before clearing the filter the issue does not occur. switching vertical a second time will no longer retain the filter.

@wobba wobba added the Needs: Triage Needs investigation and repro label Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Triage Needs investigation and repro
Projects
None yet
Development

No branches or pull requests

2 participants