pagefind
pagefind copied to clipboard
Allow setting the `OR` logic for filter values inside a filter group
“Currently, the Default UI treats all filters as AND
filters, meaning pages will only be shown if they match all toggled filters”: https://pagefind.app/docs/default-ui-filtering/
I would like to be able to select multiple filter values from a same filter group with an OR
logic, having the AND
logic still applied between filter groups.
For example, I would like to select (in pseudo code) pageType(Gear OR Gallery) AND location(America OR Africa)
.
The best would be to be able to define the logic for each filter group independently.
@bglw what do you think about providing the option to change from all
to any
for filter on global level for PageFind UI?