Open
Description
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:
- Set up a taxonomy term set filter group that includes child terms (“Select the item and all it’s children)
- Set up some nested terms
- Set up the Search results web part with “show selected filters” enabled
- Select multiple terms that include children.
- Click Apply.
- Look at the selected filters and results count
- In the Filter list, click the AND, and then click Apply.
- Look at the selected filters and results count
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.
Repeat the above steps with non Taxonomy filters and and or works.