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

Support archive

Excluding channels from search

Kevin Beick 24 May 2018 03:01 question, complete

Hey there,

I'm using filters to filter by channel, but I also have a couple channels I never want to show up in the results. When I include channel="not channel_name" in the {exp:low_search:results} tag, it overrides the filters I have applied to the search. Is there some way to universally prevent some channels from being searched without affecting filtering by channels?

Thanks!

Replies

  1. Low 24 May 2018 07:05

    You could set a default parameter like this: default:channel="not channel_name", which will not override the value given in a search form.

  2. Kevin Beick 24 May 2018 16:41

    Excellent! Thanks