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

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

Open
tmarchetti00 opened this issue Dec 20, 2021 · 4 comments
Assignees
Labels
bug Something isn't working Needs: Investigations To solve this issue, additional investigations are needed Next Release An issue that will be fixed or a new feature that will be added to one of the next versions of the s

Comments

@tmarchetti00
Copy link

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.

@tmarchetti00 tmarchetti00 added the bug Something isn't working label Dec 20, 2021
@Laul0 Laul0 self-assigned this Dec 21, 2021
@Laul0
Copy link
Collaborator

Laul0 commented Jan 19, 2022

Hi @tmarchetti00, thank you for your feedback, and the detail/quality of your issues 💪🏻
We will try to reproduce the same behavior on our side and keep you in touch.

@Laul0 Laul0 assigned yhabersaat and unassigned FranckyC Feb 3, 2022
@yhabersaat yhabersaat removed their assignment Feb 6, 2022
@yhabersaat yhabersaat self-assigned this Feb 15, 2022
@Laul0 Laul0 added the Next Release An issue that will be fixed or a new feature that will be added to one of the next versions of the s label Mar 1, 2022
@Laul0
Copy link
Collaborator

Laul0 commented Mar 31, 2022

This issue should be fixed with the latest release today. Feel free to reopen this issue if the problem persists.

@Laul0 Laul0 closed this as completed Mar 31, 2022
@ghost
Copy link

ghost commented Apr 12, 2022

Still seeing this issue with release 1.4 (no difference between AND/OR when using taxonomy filter and selecting a term with child terms with the option to include children).

@Laul0 Laul0 reopened this Apr 13, 2022
@Laul0
Copy link
Collaborator

Laul0 commented Apr 13, 2022

Noted.
We will try on our side again to reproduce the issue and define this issue with a high priority.

Thank you for your feedback

@Laul0 Laul0 added the Needs: Investigations To solve this issue, additional investigations are needed label Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Needs: Investigations To solve this issue, additional investigations are needed Next Release An issue that will be fixed or a new feature that will be added to one of the next versions of the s
Projects
None yet
Development

No branches or pull requests

4 participants