Skip to content

[Bug] If selecting multiple multi-select taxonomy filter terms that include children, the AND filter does not work, it shows the same results as OR. #32

Open
@tmarchetti00

Description

@tmarchetti00

Problem:
AND filter shows results for OR if you have a filter group set to taxonomy, multi-select with children. If you don’t include children, or are using a non taxonomy filter type, it AND works as expected.

Steps to reproduce:

  1. Set up a taxonomy term set filter group that includes child terms (“Select the item and all it’s children)
  2. Set up some nested terms
  3. Set up the Search results web part with “show selected filters” enabled
  4. Select multiple terms that include children.

image

  1. Click Apply.
  2. Look at the selected filters and results count

image

  1. In the Filter list, click the AND, and then click Apply.
  2. Look at the selected filters and results count

image

Notice that the counts are the same. From our data, they should change based on the AND or OR operator selected.

Repeat the above steps with Taxonomy terms that do not have children, and the AND works and shows a different result from OR.

image
image
image

Repeat the above steps with non Taxonomy filters and and or works.

Metadata

Metadata

Assignees

Labels

Needs: InvestigationsTo solve this issue, additional investigations are neededNext ReleaseAn issue that will be fixed or a new feature that will be added to one of the next versions of the sbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions