No results not working in Low Search
Hey Low,
My no_results tag isn't working.
This is my search form code: http://pastie.org/8385113
And my search results: http://pastie.org/8385111
What am I doing wrong?
Search works fine on keywords that exist but if I put in a keyword that I know doesn't exist (e.g banana) it doesn't load anything inside the exp:low_search:results
Thanks,
Anthony
Replies
Low 7 Oct 2013 22:23
You probably have the Results tag nested in another tag that uses the no_results conditional.
Try using {if low_search_no_results} instead.
Anthony Hubbard 7 Oct 2013 22:31
Hey Low,
Thanks thats fixed it. I couldn't find that variable in your docs?
Low 7 Oct 2013 22:33
Correct, it's not documented. I'd recommend using the standard version, and only use this with conflicts (which don't occur that often).