Skip to content

items instance Eloquent Collection in paginate #1145

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

Closed
wants to merge 2 commits into from

Conversation

SamsamBabadi
Copy link

in embeds many relation in paginate method items must be instance of Eloquent Collection same as get method

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
in embeds many relation in paginate method items must be instance of Eloquent Collection same as get method
@hamid-kholghi
Copy link

it need that

@SamsamBabadi
Copy link
Author

is there anybody?

@SamsamBabadi
Copy link
Author

@jenssegers do you want to check this pull request?

@amgir
Copy link

amgir commented Aug 1, 2017

Is there a reason this hasn't been merged yet?

@amin-mirmahmoudi
Copy link

@SamsamBabadi tanks :) .

@bastianjoel
Copy link

This is needed to get Eloquent resources to work properly.
https://laravel.com/docs/5.8/eloquent-resources

@divine
Copy link
Contributor

divine commented Jan 20, 2020

Hello!

Could you please update with the base branch or we can take a look?

Thank you for your contribution!

@SamsamBabadi
Copy link
Author

SamsamBabadi commented Jan 26, 2020

Hi @divine,

Just updated.

@Giacomo92
Copy link

Can you also add some tests, please? @SamsamBabadi

@Giacomo92
Copy link

You can close this @Smolevich . It is solved with #1959

@divine divine closed this Feb 14, 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.

None yet

7 participants