-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Have you checked if this issue already exists?
- yes
Molgenis EMX2 version
Software version: v13.90.0
Description
When filtering on areas of information in the Collections overview, e.g. https://molgeniscatalogue.org/all/collections , the Resources.areas of information attribute is ignored. Instead, it only filters on Collection events.areas of information. This is highly counter-intuitive.
Reproduction steps
- Go to 'https://molgeniscatalogue.org/all/collections'
- Filter on area of information 'Tobacco'
- See that 44 collections are found, but not FLEHS-IV
- Go the table explorer at https://molgeniscatalogue.org/catalogue/tables/#/Resources
- Filter on area of information 'Tobacco'
- See that 2 collections are found, including FLEHS-IV
Expected behaviour
One would expect a filter on the areas of information for Resources to use the Resources.areas of information attribute. Since this attribute is not often filled in and Collection events.areas of information is used more frequently, the best solution is for the filter to use both. That is, filtering on area of information 'Tobacco' should yield collections which have 'Tobacco' directly as an area of information as well as collections with collection events which have 'Tobacco' as an area of information.
System configuration
No response