Daniel-KM/Omeka-S-module-AdvancedSearch

Using 'and' joiner instead of 'or' for multiple facets

Opened this issue · 2 comments

When selecting multiple facet values for a single property, the search appears to be joined with OR instead of AND. Is this expected behavior with the internal querier? Example below, to help explain my question.

When I select the value "Labor & Class", I get all items (count of 6) with the "Type of Social Identifier = "Labor & Class.
Screenshot 2023-11-13 at 2 10 56 PM

When I add the facet value "Family Structures", I would like to see the items that have both values. Instead I see items (count of 15) that one value or the other.
Screenshot 2023-11-13 at 2 11 24 PM

Yes, some want a "and" and some want "or." So maybe an option should be added to the config in a future version.

If I wanted to modify the operator, can you point me to the file(s) I would need to edit?