Open EleanorHyde-UMCG opened 1 month ago
I think we want to redesign the filter reporting (and specifically for ontologies). However, the current implementation '4' is exactly what is happening, i.e. you have selected 4 checkboxes. So I propose to say 'works as intended' for now.
OK - but just to explain why I picked this up, I only selected 3, and the top layer checkbox got selected for me (because I'd selected all the checkboxes underneath). So the number 4 isn't what I'm expecting to see. If I'd only selected 2 of the 3, however, the number given would also be 2. This distinction might confuse users if they know they've selected x very specific topics without realising that they're all under one higher-level checkbox which has also been selected automatically. Anyway. We will leave it as it is and save this for later. (Can we remove the 'wontfix' label and add this to the backlog for 'ooit'?)
What version of EMX2 are you using (see footer) v10.71.1
Describe the bug The number of topics applied in the filter on variables in the variable explorer is displayed at the top of the list of results. However, the number can be better defined (needs discussion) as topics are counted twice in some cases.
To Reproduce Steps to reproduce the behavior:
Expected behavior The 'Family and household structure' topic has 3 underlying topics. These are counted, but the highest-level topic is also counted, giving 4. Is this what we want?
Screenshots![image](https://github.com/molgenis/molgenis-emx2/assets/80456579/181308e3-42f9-46b0-a9f3-16eaf1305f2a)
Desktop (please complete the following information):