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

Support archive

Low Search : Category Group results param doesn't act correctly

philipzaengle 21 Jul 2014 03:05 problem, active

Hi Low,

On a {exp:channel:entries tag} pair I can say something like category_group="3" which will force all entries to have at least one category which is part of category group 3.

When I add category_group="3" to the low {exp:low_search:results} tag pair is seems to always show no results.

Any suggestions?

Replies

  1. Low 21 Jul 2014 08:07

    The category_group param is handled natively by the channel:entries tag. The way I see it now, combining category_group="" and the category="" parameter where the latter points to a category that is not in the same group as defined in the category_group="" param, will trigger no_results.

    So it depends on what other parameters you have defined.

  2. philipzaengle 21 Jul 2014 13:09

    Hi Low,

    Yep, the thing is I'm not defining the category parameter; based on my understanding of the category_group param when their is no accompanying category set any entry that has a category from the category_group that's defined will be shown.

    The opening tag is as follows, the only item in the query is keywords=foo

    {exp:low_search:results
    query="{segment_3}"
    category_group="3"
    limit="12"
    paginate="bottom"
    }

  3. Low 21 Jul 2014 14:41

    I can't replicate, so I'll need to take a look myself. Please send SuperAdmin login credentials to hi at gotolow dot com if you can.