The default behaviour for the MixitUp view type is to use operator "AND" when chosen few items.
For example, imagine you have taxonomy: car, truck, bus and each node has one of the term but no others.
On the view page: you will have checkboxes with corresponded terms. But when you'll chose to see truck and car(ex) you'll have empty rows as a result, because filters seem to display only nodes with both (car+truck) terms. In some cases it will be usefull to use different behaviour ex. when chosen car+truck user will see both categories.
I propose to implement view option to control this behaviour. Seems to be wise idea to use select box called filters condition with variants: "AND" and "OR" as an available items.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | conditional-option-2992357-2.patch | 4.18 KB | extatic |
Comments
Comment #2
extatic commentedThe next patch creates an ability to choose filters agregation type from options "OR" and "AND" on the view settings page. Behaviour of the checkboxes now depends on this option.
Comment #3
extatic commentedComment #4
ysamoylenko commentedThank you for your work. The patch works fine. This functionality will be added in the next module release.
Comment #6
ysamoylenko commentedThe patch was committed. Thank you.