@franzzy your codes are kinda confusing please show well your codes and we can help you to solve your problem.
Feb 11, 2022
3
Level 1
Pagination
Hi,so i have an app with catalog. And when you click on filter it makes history push state and add param to get query. And it looks like this :
category?filter-1[]=2000&filter-1[]=1500&filter-1[]=2500 .
So i dicided to add default laravel pagination.
$products->withQueryString()->links()
And... pagination links look like this
filter-1[0]=1500&filter-1[1]=2000&filter-1[2]=2500&filter-1[3]=3000&filter-1[4]=3500&page=2
So, is there any workaround to set get query as is?
Please or to participate in this conversation.