Paging through items in collection or search result

Hello,

When paging through items with the previous/next buttons you get the previous or next item in the full item list. But if you have a list of items as a search result, or in a collection, you’d expect to see the previous or next item in the search result or a collection, not in the full item list.

I wonder how to do it, and would be grateful for your help!

Thank you.

Just in case anyone faces the same issue:

I figured out how to deal with it: You’ll need to pass the query string to the item list page (items\browse.php), so it knows it should only page through a subset of the full item list.

Hi Theresa - I’m pretty much a beginner to PHP so doing this from scratch is a problem for me. How do you ‘pass’ the query string to the items/browse page please. Could you post the code modifications.

Same request as @H_Gregg
Can you show us the code of the modified part?
I am looking for a solution as well

1 Like