- This topic has 2 replies, 2 voices, and was last updated 10 years, 9 months ago by .
Viewing 3 posts – 1 through 3 (of 3 total)
Viewing 3 posts – 1 through 3 (of 3 total)
Posted
by
Forums › Forums › Search & Filter Pro › Logic for search and filter
I’m trying to figure out how to get the logic right for my form.
Users can select checkboxes in a list of categories and in a list of tags. If they select two categories, we show everything that’s in both of the categories (so search operator is OR). But as they choose tags, I’d like to filter out the results from these categories. So if they choose tags “music” and “photography,” they get all of the music and photography stuff in the two categories above. I think this should be search operator OR as well, but then I get results for things tagged “music” and “photography” in other categories that weren’t select.
Thanks!
I think you need to set “OR” inside the fields, but also in the general tab there is a relationship, which should also be set to “OR” 🙂
This means any post that exists in any of the tags or categories selected should be shown.
Thanks