sib-swiss / glittr

A web application for finding and comparing bioinformatics training materials on GitHub and GitLab
https://glittr.org
MIT License
35 stars 1 forks source link

Use AND instead of OR when selecting tags #14

Closed GeertvanGeest closed 8 months ago

GeertvanGeest commented 11 months ago

Currently, when selecting two tags (e.g. 'single-cell sequencing' and 'R') you get all courses with the tag 'single-cell sequencing' or with the tag 'R'. I think there are more use cases for people looking for courses with both tags, so 'single-cell sequencing' and 'R'. Therefore, it is probably better to change it to 'and'.

yhaefligsib commented 8 months ago

Added the possibility to let user decide and make the default the "AND" operator. image When in "AND" operator I removed the option to select all tags of a category as this make no sense, it will always display empty results as no repositories have all tags of a category.

GeertvanGeest commented 8 months ago

Very cool, it works really nice like this.

yhaefligsib commented 8 months ago

Merged live #21