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

Support archive

Search in categories with keyword

Paki 3 Sep 2013 19:01 question, complete

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

  1. Low 3 Sep 2013 20:58

    As of version 2.4 you can: http://gotolow.com/addons/low-search/...

  2. 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.

  3. 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/...

  4. Paki 5 Sep 2013 14:40

    Auto-Assign Category Parents was enabled but didn't solve the problem.

  5. 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.