Open sduvaud opened 6 years ago
Yup ... I can confirm this behaviour / bug. cc @piotrgithub1
This is a limitation; I think the ideal behaviour would be to accept >1 topic etc., and interpret these as a logical "AND".
Currently the API (which the front-end calls) is ignoring everything except for the last topic specified, i.e.
https://bio.tools/api/tool?topic=%22Function%20analysis%22&topic=%22Proteins%22 returns hits for topic=="Proteins"
https://bio.tools/api/tool?topic=%22Proteins%22&topic=%22Function%20analysis%22 returns hits for topic=="Function analysis"
NB: for purposes of filtering / faceting, we'd also need to support "OR" functionality
@sduvaud The solution will most likely be something of the form bio.tools/?topic=Proteins&&Genes for the AND case and bio.tools/?topic=Proteins||Genes for the OR case All of this in due course :)
Tried to search for "Topic: Model organisms" and wanted to add "Topic: Proteomics" to the search but the first search item was removed.