The 'category_group' parameter does not seem to be filtering correctly in Low Search.
When I add the 'category_group' parameter to Low Search, no results are returned even though there is a testing product assigned a category in that group. I am on Low Search 6.1.3 and ExpressionEngine 4.3.8.
{exp:channel:entries
channel="products"
category_group="2"
limit="12"
paginate="bottom"
disable="category_fields|member_data"}
//1 product displayed
{/exp:channel:entries}
###
{exp:low_search:results
collection="products"
category_group="2"
limit="12"
paginate="bottom"
disable="category_fields|member_data"}
//zero entries displayed
{/exp:low_search:results}
###
I have tried adding the following parameter in various configurations to the low_search tag, but not have helped.
- channel="products"
- dynamic="no"
- query=""
Replies
Low 7 Mar 2019 17:38
Hmm, looks like a bug that should have been fixed in 6.0.1... Looking closer, there might be a typo in there...
Open up filters/lsf.categories.php and change line #33 from
to
...and try again. Does that help?
Jason Boothman 7 Mar 2019 17:52
That did the trick. Thanks Low!