I have a (low) search form set up like so (stripped out example) to search a collection Ive set up called 'walks'. This collection is for the 'walks' channel.

{exp:low_search:form collection="walks" query="{segment_3}" result_page="walks/results"}

  <input type="text" name="keywords" id="keywords"/>

  and then a category dropdown and two sets of checkbox fields to 
  search within checkbox fields in the entries.


It all works perfectly, apart from whenever I perform a search without entering a keyword, selecting a category from the dropdown, or checking any checkboxes. When doing this it returns entries from other channels.

Any idea why it would do this?


As per version 3.0, Low Search doesn't accept filter-parameters in the Form tag. Instead, you should move these parameters to the Results tag or add them as (hidden) input fields inside the Form tag.

So, try removing the collection="" parameter (which is part of the Keywords filter) from the Form tag, and add it to the Results tag instead.

  • Thanks Low, must have missed that change. Moving the param to the results tag works fine. Thanks again!
    – shorn
    Dec 16 '14 at 19:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.