Closed tonimedina closed 6 years ago
The built-in filtering is not that sophisticated, which is why Shuffle gives you the option to tell it which things should be visible or not. Check out the advanced filters section for a brief intro and the compound filters demo for examples on how to use it.
Hi there,
I was wondering if it is possible to have several "data-groups" at the same time and filter them like this:
<div data-st='["1", "2", "3"]' data-nd='["4", "5", "6"]' data-rd='["7", "8", "9"]' />
Get my all item where "data-st" includes either 1 OR 2 AND "data-nd=" includes either 4 OR 5 AND "data-rd" includes either 7 OR 8.
I have tried many things already, but I can not figure it out... :(
And to make it more complex... Can ST, ND and RD be dynamic?
The wanted result would be all elements matching:
data-st == 1 || data-st == 2 && data-nd == 4 || data-nd == 5 && data-rd == 7 || data-rd == 8
And with dynamic values...
So when I click on "Animation + Comedy". I should see "Black Panther + Spiderman + Batman" After that I click on "John Doe". I should see now only "Black Panther + Spiderman"
Because the genre is either animation OR comedy AND the actor is John Doe