Search in categories with keyword
Hello, I would like to ask if it possible to search on category names by using only the keywords search.
I don't wan't to include a dropdown with categories. I just want to use a global search field that will search on channel entries and to their connected categories.
Replies
Low 3 Sep 2013 20:58
As of version 2.4 you can: http://gotolow.com/addons/low-search/...
Paki 5 Sep 2013 14:14
Thanks a lot.
Tha't what I did right in first place.
I thought it wasn't working though, because I was searching for category parents and couldn't get any results.
On indexes only the assigned category is saved and not the whole category tree.
So I had to modify the get_entry_categories method on base.low_search.php for me to work.
Low 5 Sep 2013 14:16
Ah, I see. Yes, only actual assigned categories get indexed.
You could also forego the hack and enable Auto Assign Category Parents: http://ellislab.com/expressionengine/...
Paki 5 Sep 2013 14:40
Auto-Assign Category Parents was enabled but didn't solve the problem.
Low 5 Sep 2013 14:46
Ah, I see. Then you've found a bug, 'cause that is supposed to work. I'll get on it.