Never mind, figured out how to make it work with Livewire. Looked like the filters and sorts were being removed from the request upon changing pages, so it rightfully thought there were no filters even though they were present in the query string. All I had to do was sync the request's query with my filters array in render() and it works.
Can you use the default Laravel paginator with Livewire?
I'm having an issue paginating Spatie's query builder with the Livewire paginator. Applying filters works, and the paginator correctly shows the number of results and pages, but if you try to change to the next page, it will go to the second for the ENTIRE collection, ignoring the filters in place. If I use the default Laravel paginator with Spatie's append method, it works partially. Filtering, sorting, and pagination work fine but sometimes when you change pages it will go to a page like /livewire/update?page=2 and throw an exception.
So I was wondering if it's possible to get by that and not have to use Livewire's paginator?
Please or to participate in this conversation.