Forums Forums Search & Filter Pro Search OR per field AND from field to field

Viewing 5 posts - 1 through 5 (of 5 total)
  • Anonymous
    #46613

    With S&F (v 2.1.2) is it possible to achieve the following. My posts have several custom taxonomies and I would like the search to do this:
    1) Within a taxonomy search with OR
    2) Combining several taxonomies search with AND

    So if the first taxonomy is has options A/B/C and the second Z/X and we do the following:
    select A and B from the first and X from the second the result would be:

    all posts: X && (A || B)

    At the moment however, it seems search works like this when I apply the AND for ‘Field relationships’:

    A & B & X

    whereas with OR as ‘Field relationships’ it seems to return:
    X || (A & B)

    Both do not give the desired result I am looking for.

    I would appreciate to know if this is possible with the plugin. Thanks in advance!

    Trevor
    #46748

    What are you setting with in each field? Depending on the Input Type, you can also select AND Or in there also (with Checkbox and Multi-select).

    Anonymous
    #46763

    Ahhh, right. I missed that option.

    I am using checkboxes, now I see the option ‘Search Operator’.
    Probably will solve the issue now.

    Thanks!

    Trevor
    #46764

    Let me know if that resolves the issue for you, and if I can close the thread and mark it resolved.

    Anonymous
    #46873

    Yes it does. Thanks Trevor for the quick responses and the solution!!

    Cheers, Pim

Viewing 5 posts - 1 through 5 (of 5 total)