All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Combine AND and OR within a category search

JonathanDavies 6 Jul 2012 08:43 question, complete

Hi

I am trying to allow users to filter results by category and category groups. By this I mean I have 3 category groups (material, colour and clasp) and within each category-group there are multiple categories e.g.

Material:
Cotton, Silk, Wool, Linen ...

Colour:
Red, Blue, Green ...

Clasp:
Round, square, oval ...

I would like to be able to use an OR search within the categories, combined with an AND between the category-groups. I looked at Solspace’s Super Search and this only handles one or the other (you can’t do an AND or OR in the same search).

Is this at all possible with this Low search module?

Many thanks
Jonathan

Replies

  1. Low 6 Jul 2012 08:46

    Hi Jonathan, I'm afraid Low Search handles this as Super Search does -- one or the other. Basically just like how the category="" parameter works in the channel:entries tag.