The Search Query is not being added to the pagination links
I have a site that is and MSM install that we are using Low Search. The default site in the MSM install is installed in the root url (stories.imb.org) and the other MSM sites are installed in subdirectories.
The search works fine in the default site through out the pagination. But the sites that are in the subdirectories the pagination is not working. What appears to the issue is that the search terms are not being added to the pagination urls.
If I turn on encoded query it works but breaks my sidebar which is links to filter links.
Here is the code that I have on the results page
{exp:low_search:results query="{segment_3}" limit="10" site="{site_short_name}"}
{exp:playa:parents channel="features" limit="1"}{title} - {/exp:playa:parents}
{if no_results}
<p>Sorry, no results matched the search terms you provided.</p>
{/if}
{paginate}
<div class="pagination">{pagination_links}<br />Page {current_page} of {total_pages}</div>
{/paginate}
{/exp:low_search:results}
Replies
Low 18 Mar 2015 16:44
LS tries to add the query string to the URLs automatically, but that sometimes fails if the URLs are somewhat different than the pagination URLs.
What always will work, is explicitly define the pagination links, like explained here: https://ellislab.com/expressionengine...
...and then using this as the href of your links:
Aaron Krug 18 Mar 2015 19:12
Thanks that worked perfectly.