Parent term is put back into URL when you deselect one of multiple selected child terms.

Created on 21 October 2021, about 3 years ago
Updated 9 September 2023, about 1 year ago

Problem/Motivation

When deselecting one of multiple selected child terms in a facet, the parent term is put back into the url, causing you to get all results for the parent term instead of just the selected child terms.

I've deactivated pretty paths on this view, and with the default query behavior it does work fine.

Feel free to view the attached screenshots, the one with only one child term selected is where I've deselected one.
The parent term is selected again, and you can see from the amount of results that it also uses that facet in the query, and not just in the URL.

Steps to reproduce

  1. Select a parent term, this should result in child terms to appear (if it has any)
  2. Select multiple child terms (as in at least 2)
  3. Deselect one of the child terms

Result: The parent term is put back into the url and seen as an active filter.

Proposed resolution

TBD

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇧🇪Belgium RandalV

Live updates comments and jobs are added and updated live.
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.71.5 2024