Support the ongoing development of Laravel.io →
posted 10 years ago
Eloquent
Last updated 2 years ago.
0

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

Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

mbouclas mbouclas Joined 30 Apr 2014

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.