What version of EMX2 are you using (see footer)
v10.82.0
Describe the bug
In the Directory app you can select 'match all' on the country filter, even though this attribute of the biobank is of type 'Ref' and can only ever contain one value.
Expected behaviour
The drop down list does not have a match all / match any option
Actual behaviour
The drop down list does have a match all / match any option. Selecting match all with 2 or more countries selected will always lead to no results
Context
You should be able to derive from the metadata whether showing a match all / match any toggle is appropriate. This is only appropriate for 1:n or n:n relationships (ref_array, ontology_array)
What version of EMX2 are you using (see footer) v10.82.0
Describe the bug In the Directory app you can select 'match all' on the country filter, even though this attribute of the biobank is of type 'Ref' and can only ever contain one value.
To Reproduce Steps to reproduce the behavior:
Expected behaviour The drop down list does not have a match all / match any option
Actual behaviour The drop down list does have a match all / match any option. Selecting match all with 2 or more countries selected will always lead to no results
Context You should be able to derive from the metadata whether showing a match all / match any toggle is appropriate. This is only appropriate for 1:n or n:n relationships (ref_array, ontology_array)