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

Support archive

Can't seem to get toggle working properly in Low Search Results.

smartpill 9 May 2014 22:33 question, complete

I need to have the option for users to filter how many results they see per page after they're on the results page. I'm trying:


The first click on a link works great. The second and additional add another "|" and the number. so starts off ending
&limit=10
then if you click 50, instead of
&limit=50
I get
&limit=10|50
and then
&limit=10|50|20
and so on.
Most likely I'm using the wrong tag, but not sure which is correct.
Here's a link to see it:
http://ctbarns.sownoak.com/find/found...

Replies

  1. Low 10 May 2014 07:36

    The toggle: parameter is only used for multi-valued parameters. For a parameter that uses a single value, like limit, you can just use the normal parameter syntax:

    {exp:low_search:url limit="10"}
    {exp:low_search:url limit="20"}
    {exp:low_search:url limit="50"}