Forums Forums Search & Filter Pro Is it possible to use AND over all the controls specified

Tagged: , ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Anonymous
    #9331

    Dear Support,

    I have 3 groups of tags which I don’t want to show hiërarchical because I want the heading I specify in the search form. I know that within a group of checkboxes you can use operator=”AND”.

    I need the same for ALL the controls. To make my point a little more clear:

    I have posts (recipes) that have several tags. Like Land, kind of meat (fish, pork, beef) and if there is also a vegetarian way to make the food. My searchform containts a listbox for the Land, one for the kind of meat and last but not least a single checkbox for vegetarian.

    If I select Thailand, I got as a result 4 recipes. But if I check vegetarian, than I got 11 results because it seems to select in an OR way.

    What must I do to have all the controls together build up to an AND select in that way that every selection narrows down the search?

    You can check what I mean on http://vanka.magicservices.nl/recepten (it’s in Dutch, I’m not finished with the English version yet)

    Best regards,

    Janno Hordijk
    MagicServices

    Ross Moderator
    #9352

    If you update to v1.4.0 (released today) – there is an option to use AND or OR between category, tag and taxonomy fields 🙂

    Thanks

    Anonymous
    #9407

    Thank you Ross, that’s very fast! I would like to download the plugin but my download link expired and I cannot find a download area. Where can I get the update?

    Best regards, Janno

    Anonymous
    #9440

    Hi Ross, I was able to update the plugin today, yesterday it didn’t mention there was a plugin and therefore I assumed I had to manually download it from your site.

    That having solved: I saw the new options. GREAT! Unfortunately the Field Relationship=AND doesn’t work for me. It still does an OR.

    What must I do to solve it or is there a little bug in your code?

    Best regards, Janno

    Ross Moderator
    #9473

    Hey Janno – I’m wondering if you have another plugin causing a conflict?

    Try disabling other plugins – as far as I’m aware this feature is working :/

    Thanks

    Anonymous
    #9772

    Dear Ross,

    I disabled all plugins except search&filter. But still the same.

    I have a field for 3 Countries (tag)
    and I have 1 field for vegetarian (tag).

    Field relationship is set to AND.

    If I click Country Thailand I got 4 recipes. If I also check vegetarian than I got 11 recipes. This is an OR and not an AND.

    What’s going wrong?

    Anonymous
    #9773

    Extra info: the vegetarian checkbox seems to overrule. If checked it only filters on Vegetarian Tag regardless of the other selections.

    Ross Moderator
    #9917
Viewing 8 posts - 1 through 8 (of 8 total)