Pagination URIs are missing the encoded query
Hi Low, I'm having a problem where results page pagination links are missing the search parameters.
Instead of /search/results/[query]/P10/ I am getting /search/results/P10/
The results tag looks like this:
{exp:low_search:results
query="{segment_3}"
limit="10"
paginate="bottom"
disable="member_data|categories|category_fields"}
The first page of results works perfectly. Adding my own P10 parameter to the url also works. It's just the pagination link output which is screwy.
Any ideas what might be causing this?
I'm not using Freebie or Structure and channel:entries pagination is working fine.
EE is v2.5.5 - Build Date: 20121220
Low Search is v2.3.1
Note: This topic was created from a reply on the Is it possible to return a paginated set of search results? topic.
Replies
Low 4 Jun 2013 13:18
What are your Low Search extension settings? And specifically, are you encoding the query or not?
lukehardiman 4 Jun 2013 13:19
Thanks for the new thread.. to confirm, I've tried both encoded and unencoded searches, and the uri_protocol is set to PATH_INFO.
Low 4 Jun 2013 13:21
Can you set the Encode Query setting to Yes, and see if it helps if you add this to the Results tag:
lukehardiman 4 Jun 2013 13:21
{segment_3} is where my query lives, but the tag outputs nothing into the template :/
Low 4 Jun 2013 13:26
Might need to take a look myself. Can you send me SuperAdmin login credentials to hi at gotolow dot com?
lukehardiman 4 Jun 2013 13:27
Bingo, your suggestion of paginate_base="{segment_1}/{segment_2}/{segment_3}" did the trick! Thanks for the rapid fire help, great stuff.
Low 4 Jun 2013 13:30
Ah, cool. :)