aequos-solutions / modern-data-visualizer

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

[BUG] Taxonomy picker not ordered between pages #78

Closed ghost closed 8 months ago

ghost commented 1 year ago

Version used Ex: 1.4.1

Describe the bug Taxonomy picker values are not in alphabetical order between pages. Using a term set with more than 20 terms (or 20 child terms) and a taxonomy picker configured to display 20 terms, all of the terms are not in alphabetical order between pages. For example, the first page of 20 terms may display terms from A - M, in alphabetical order. On the next page, we see terms from I - Z. We noticed that this started to occur after making changes to a term set (adding new terms, moving existing terms). Re-adding a taxonomy filter web part or a filter within the web part does not resolve the issue. If we modify the number of filter values per page to be fewer, the same issue is present.

To Reproduce Steps to reproduce the behavior:

  1. Configure a taxonomy filter using a term set with more than 20 terms
  2. Modify the term set that the filter is using
  3. View the taxonomy filter - values are not in alphabetical order between pages

Expected behavior Taxonomy picker values are in alphabetical order between pages - for example Page 1 showing A-I, Page 2 showing J-S, Page 3 showing T-Z.

Screenshots

Page 1 of values: image

Page 2 of values: image

Desktop (please complete the following information):

Additional context Using english language with no translations. Taxonomy terms are in alphabetical order when viewed in SharePoint term store. When viewed in Aequos filter or when configuring Aequos filters, the terms are not in alpha order between pages (but in alpha order on each page). Happy to provide more screen shots via email.

Laul0 commented 1 year ago

Hi @randhawaryan,

Thank you for your feedback, it is appreciated. We will try to reproduce it on our side and see what we can do to fix it.

Thank you

Laul0 commented 1 year ago

Hi @randhawaryan,

We will close this issue because it was closed by release 1.5.4.

Feel free to reopen it if the problem persists.

Thank you

ghost commented 1 year ago

Hi @Laul0 - I still see this issue in 1.5.4 Taxonomy terms are out of order in the Data Filters web part and when viewing terms in a term set as part of the taxonomy picker configuration.

Laul0 commented 1 year ago

Hi @randhawaryan,

We tried on our side and we didn't reproduce the behavior yet. Can you clear your browser cache and ensure the latest version is correctly installed on your environment?

Once done, if the issue persists, we can try to plan a meeting where you can show us your case. That could help us to determine the origin.

Thank you

ghost commented 1 year ago

@Laul0 I tried the steps and still see the same behaviour. Could we set up a meeting to investigate? One note - the terms which we're seeing out of order were added/moved in the term set after it was initially created. That change was made months ago and we're still seeing the out of order terms. But I can see why it might be tricky to reproduce.