aequos-solutions / modern-data-visualizer

Documentation for the Modern Data Visualizer solution
https://aequos-solutions.github.io/modern-data-visualizer/
8 stars 7 forks source link

[BUG] Taxonomy Picker Filter not displaying all filter values #96

Open ghost opened 1 year ago

ghost commented 1 year ago

Version used 1.5.4

Describe the bug When using a taxonomy picker filter for a term set with multiple levels, if a child term is selected using taxonomy picker search and then a level 1 term is selected in the UI, only the level 1 term is displayed in the taxonomy picker after applying the filter.

To Reproduce Steps to reproduce the behavior: Prerequisite - set up a data visualizer web part to a SharePoint source, add a data filter web part and configure a taxonomy picker filter.

  1. Configure a taxonomy picker using a taxonomy with multiple levels (default settings - use OR between filters instead of default of AND when configuring filter, allow multiple filter values). In our example we are using a Geography term set which has continents as level 1 terms and countries as level 3 terms.
  2. Use the taxonomy filter search to search for an L3 term. We search for 'Canada' which is a L3 term under America. Click on the search result. You will see Canada added as a filter (we have not yet clicked Apply to filter the search results) Note: use search to find an L2/L3 term without first expanding the L1 containing the term. If we view the L3 term in the UI before running these steps, we don't see an issue. Looks like a data load issue possibly.
  3. Select an L1 term in the filter UI. In our example we select AFRICA
  4. Click Apply to apply both filters

Expected behavior Both AFRICA and Canada are displayed as filters in the filter web part.

Actual Result: Only AFRICA (the L1 term) is displayed in the filter web part

Screenshots Searching for 'Canada' SearchCanada

After searching for Canada and manually selecting AFRICA - before clicking Apply BeforeClickApply

After clicking Apply - note that both filters are displayed in the Data Visualizer web part, and search results are filtered correctly, but filter only shows AFRICA. AfterClickApply

Desktop (please complete the following information):

Additional context Also an issue in Aequos 1.4.1 and may be related to issue 66, which we also still see in V 1.5.4

Laul0 commented 1 year ago

Hi @randhawaryan,

Your issue was reproduced by our team and the bug was referenced in our backlog with priority. We will work on it and keep you in touch when we will be able to release a version with a fix.

Thank you