Skip to content
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

Use framework paginator for better support of magic pagination #36

Merged
merged 1 commit into from
Mar 22, 2020
Merged

Use framework paginator for better support of magic pagination #36

merged 1 commit into from
Mar 22, 2020

Conversation

lachieh
Copy link
Contributor

@lachieh lachieh commented Mar 20, 2020

This switches the basic Pagination to the Illuminate\Pagination\LengthAwarePaginator so that it becomes possible to use the {{ auto_links }} tag from core. It also adds the count method on to Events, which was previously inaccessible because the actual events collection is a private property on the Events class.

@edalzell edalzell merged commit 1e5eda0 into transformstudios:master Mar 22, 2020
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.

2 participants