Daniel-KM / Omeka-S-module-AdvancedSearch

Module for Omeka S that improves search with new fields, auto-suggest, filters, facets, specific pages, etc.
Other
3 stars 2 forks source link

Filters behavior switched from AND to OR after commit "b4ee3fa". #4

Closed hilah-ats closed 1 year ago

hilah-ats commented 1 year ago

Before this commit (https://github.com/Daniel-KM/Omeka-S-module-AdvancedSearch/commit/b4ee3fa4803ec7fa5ae361dba3e8ba1578b754ad), the filters (not advanced filters) produced results that contained every value in the selection, however after this commit, filters now produce results that contain any value in the selection. This is reproduceable on a clean installation with only the Advanced Search module installed.

Is this intended? If not, is it possible to allow configuration of the operator for filters (not advanced filters)?

hilah-ats commented 1 year ago

Behavior is still present in 3.3.6.18

Daniel-KM commented 1 year ago

Indeed, the good behavior for filter is "and" and the optimization converted it into a list, so "or". I disabled it in last version (3.4.6.19)