I'm looking to paginate and array with multiple filters.
The current url would be: www.example.com/search?filter=shorts&type=leather&brand=sams
Clicking on the next next link returns: www.example.com/search/p2
effectively removing the search params.
Is there a way to paginate the full url without removing the search params?
{% paginate test.limit(4) as entries %}
{% for entry in entriesOnPage %}
<article>
<h1>{{ entry.title }}</h1>
{{ entry.body }}
</article>
{% endfor %}
{% if paginate.prevUrl %}
<a href="{{ paginate.prevUrl }}">Previous Page</a>
{% endif %}
{% if paginate.nextUrl %}
<a href="{{ paginate.nextUrl }}">Next Page</a>
{% endif %}
{% endpaginate %}