Skip to content

[Updated PR#1145] Fix paginate in EmbedsMany #1959

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

Merged
merged 5 commits into from
Feb 14, 2020

Conversation

Giacomo92
Copy link

@Giacomo92 Giacomo92 commented Feb 11, 2020

This PR was recreated from #1145

As describe here, $items (a parameter of LengthAwarePaginator) need to be an instance of Collection. I also converted the slice() operation with the collection's method and I have updated the docs.

Co-Authored-By: @SamsamBabadi

@Giacomo92 Giacomo92 requested a review from Smolevich February 11, 2020 10:46
Smolevich
Smolevich previously approved these changes Feb 11, 2020
@Smolevich Smolevich merged commit c0966a9 into mongodb:master Feb 14, 2020
mnphpexpert added a commit to mnphpexpert/laravel-mongodb that referenced this pull request Sep 2, 2024
[Updated PR#1145] Fix paginate in EmbedsMany
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.

3 participants