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

Support archive

Search Results Pagination Not Paginating

Christopher Carranza 13 Oct 2014 04:12 problem, complete

I have a results page setup that isn't paginating. My test search is bringing back 2 results. When i set the limit to 1 and attempt to go to the second page, it still pulls in the entry from the first page.

My results page is a bit different in that i have 3 sets of exp:low_search:results tag pairs. The top and bottom sets are for the pagination links only, the middle actually outputs the entries and no pagination. All 3 tags have the same parameters. I don't believe that this setup is making it fail but because of the site design i had to do it this way and it's a bit unorthodox.

Any help trying to track down this issue would be greatly appreciated as a launch date is nearing.

Replies

  1. Low 13 Oct 2014 08:41

    I'll need to take a look myself. Please send SuperAdmin login credentials to hi at gotolow dot com if you can.

  2. Low 13 Oct 2014 13:22

    Okay, this is because the channel:entries tag (which the Results tag uses) needs a {paginate}...{/paginate} variable pair inside it in order to trigger the pagination. Not having it will always return the first set.

    So, I added it to your second Results tag, which made it work again.

  3. Christopher Carranza 13 Oct 2014 13:40

    I had no idea, i guess because of this unique setup (at least to me) i've never run into this issue. Thanks again for the extremely timely response!