Skip to content

Added pagination #305

Open
sozidatel79 wants to merge 6 commits into
lazychaser:v4from
sozidatel79:v4
Open

Added pagination #305
sozidatel79 wants to merge 6 commits into
lazychaser:v4from
sozidatel79:v4

Conversation

@sozidatel79
Copy link
Copy Markdown

No description provided.

@lazychaser
Copy link
Copy Markdown
Owner

What is the need for this method?

@sozidatel79
Copy link
Copy Markdown
Author

For paginate the result

@sozidatel79
Copy link
Copy Markdown
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

Comment thread composer.json
@michabbb
Copy link
Copy Markdown

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