Support the ongoing development of →
Requests Breeze
Last updated 1 year ago.
moderator Solution

Hello @danielsc87,

If I understand your problem correct I think you need to add a call to the withQueryString() function after your paginate call.

$users = User::paginate(15)->withQueryString();

See for the this and other options:

danielsc87 liked this reply

Solution selected by @danielsc87

Thank you that worked perfect,

below is what i was using before can this be adjusted or its ok to leave as is, onchange was the row selector and the function copy was the search input from a button

<script> document.getElementById('pagination').onchange = function() { window.location = "{!! $hubsearch->url(1) !!}&items=" + this.value; }; function copy() { var $search = document.getElementById('blookup').value; window.location = "{!! $hubsearch->url(1) !!}&blookup="+$search; } </script>

Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.