Skip to content

Conversation

sozidatel79
Copy link

No description provided.

@lazychaser
Copy link
Owner

What is the need for this method?

@sozidatel79
Copy link
Author

For paginate the result

@sozidatel79
Copy link
Author

sozidatel79 commented Jul 22, 2018

with this code: $categories = Category::defaultOrder()->withDepth()->get();
i can't paginate the result set.
but with: $categories = Category::defaultOrder()->withDepth()->paginate(100);
i can add {{ $categories->links() }} and paginate instead of loading all data.
http://joxi.ru/5md3dxLtkqlogr

@michabbb
Copy link

more important: why do people invest time - get asked something - and never answer back - same with so many issues here. so stupid.... 🙄

@lazychaser maybe it´s an idea to close all PR and issues and start new from scratch... I don´t see the reason for keeping issues and PR open that are older than a year.....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants