Low Search & Categories
Hello - I'm working with Low Search and having some trouble getting it to work correctly when filtering by category. I'm using the following to show all results from collections with the exception of entries that are assigned the category "16".
{exp:low_search:results query="{segment_3}" limit="20" keywords:inflect="yes" category="not 16" status="open"}
This works, it filters out all entries assigned "16". However, it also won't show any entries that don't have any categories assigned. For example, I have a channel without any categories associated with it - none of these results are returned. But, if I assign some random category to it, it will return the results.
Likely something easy that I'm missing - I'd appreciate any insight. Thanks.
Replies
Low 4 Jun 2018 07:00
What version of EE and LS are you using?
Micah Kohne 4 Jun 2018 13:52
EE 4.3.1, LS 6.1.2
Low 4 Jun 2018 19:09
Can you try this: open up /filters/categories/lsf.categories.php and look up line 16, which reads
...and change that to
...does that help?
Micah Kohne 4 Jun 2018 20:54
Yep - that did it. Appreciate the help.