NEUBIAS / bise

BIII development repository
http://biii.eu
GNU General Public License v2.0
5 stars 14 forks source link

`requires` in Advanced search? #194

Open haesleinhuepf opened 1 year ago

haesleinhuepf commented 1 year ago

Hi @PerrineGilloteaux ,

assume, I'm a Fiji user. How can I limit search results so that only Fiji-related tools/plugins are shown?

image

If this is not possible yet, can we add a requires text field to the advanced search?

image

haesleinhuepf commented 1 year ago

It seems the search uses an OR-connection for searching for the terms. Could we change it to an AND? This means it searches for entries that contain ALL words specified in the field.

PerrineGilloteaux commented 1 year ago

Hi @haesleinhuepf : For the requires, yes doing it. For the OR: we discussed that, and for now selected it should be OR within a field but Fields are AND between them (hopefully it is clear) but we could also relaunched a discussion. We could expose more choices to the user (choosing him or herself the connection, but maybe it would complicates the interface). To be discussed. i'll put here the commit for the requires field

PerrineGilloteaux commented 1 year ago

Not that obvious actually for adding a field referring to content and not taxonomy, but I will find a way