New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.7] Allow to customize amount of links on each side in paginator #25110

Merged
merged 3 commits into from Aug 6, 2018

Conversation

Projects
None yet
2 participants
@mputkowski
Contributor

mputkowski commented Aug 6, 2018

This PR allows to determine amount of links on the each side of the current page link. Thanks to this custom pagination view is not needed.

User::paginate(2)->linksOnEachSide(5);

mputkowski added some commits Aug 6, 2018

fix

@taylorotwell taylorotwell merged commit 30ed900 into laravel:5.7 Aug 6, 2018

2 checks passed

continuous-integration/styleci/pr The analysis has passed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment