Closed EleanorHyde-UMCG closed 2 weeks ago
@mswertz this is the bug we discussed yesterday. Currently in the backlog but definitely important enough to be done this sprint.
see #3866
In #3866 we said: cohorts which have been actively chosen are kept in the list, regardless of whether or not they have mappings to the variables in question.
This situation is subtly different but also rather similar. Do we need to say that we keep variables in the list which have been actively chosen, regardless of whether they have been mapped to by the selected cohorts? If so, this will throw an awful lot out of kilter...
In #3866 we said: cohorts which have been actively chosen are kept in the list, regardless of whether or not they have mappings to the variables in question.
This situation is subtly different but also rather similar. Do we need to say that we keep variables in the list which have been actively chosen, regardless of whether they have been mapped to by the selected cohorts? If so, this will throw an awful lot out of kilter...
NO WE ARE NOT DOING THIS! Keep as is: only show variables with mappings. I have tested the search filter 'term A AND term B' and it looks good. Further testing in acc will most likely bear this out.
What version of EMX2 are you using (see footer) Software version: v10.77.4
Describe the bug When filtering on variables using search filters, cohort filters and topic filters, the combination is not applied correctly, meaning that too many variables are shown.
Agreed-upon query is: (search bar criteria) AND (topic criteria) AND (cohort criteria)
The query within each place to filter is as follows: search bar: additive, searchterm1 AND searchterm2 topics: topic1 OR topic2 (or both) cohorts: cohort1 OR cohort 2 (or both)
To Reproduce Steps to reproduce the behavior:
Expected behavior Only cohab_0 should be shown. WILL FIND OTHER TEST DATA EXAMPLES LATER!
Screenshots
Desktop (please complete the following information):