How to set AND and not OR in a repeating group search?

Hi there!
My user defines tags in a multidropdown (can be one or many).
I’d like to display in a repeating group results of entries that have ALL the tags listed in the multidropdown (not OR!).

I tried so many combinations, using :filtered or :merged or nothing at the first level, but I can’t manage to make it work.

Any advice? This is key to my app, completely stuck :frowning:

Replace ‘merge’ (all=or) with ‘intersect with’ (and) thing. Replace ‘first_item’ of using tag_list_contains_ multidropdown_tag_value:first_item with item=2 and item=3 for the two other ‘search for’, and so on (if you add more tags).

1 Like


IT WORKS!

Many many thanks!
Had to not forget to tick the “Ignore empty constraints” otherwise it would work but that’s exactly what I needed, many thanks!

Useful indeed to know, huge difference.
Thanks again :slight_smile:

Great, happy to help.