Filter AND/OR Logic [NEW]
By default, all filter controls, such as Text Filter, Checkbox Filter, and so on, use AND logic. The AND logic means that the result list meets all criteria within a set of filter and path rules.
But it is possible to change this behavior with a customFilter property like this:
You can use any combination of and, or, and parentheses.
Each parenthesized token, such as { location }
, corresponds to a filter control. The value inside parentheses matches data-id property of the control.
There is only one exception: in the case of the Radio Button Filter control, the name property is used instead of data-id.
data-id may contain English letters, numbers, dashes or underscores only.
You can find working examples in the downloaded archive under /main/6-filters-and-or-logic/.
Last updated