You will have to create the pagination object your-self. There is no real documentation for this on the website but take a look at the constructor arguments and you should be able to figure it out., if not someone on IRC should be able to help you
i just spoke with a bunch of people on IRC and they agree on the separate pagination but i don't. Reason is that Laravel creates that extra query outside of paginator, i.e. when you use eager loading. So, i'm hoping there is something i'm missing.
P.S. i got it working with the separate paginator well before i asked for help, i just feel that it is not the best way to go about it.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community