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

В ответе links->first и links->last всегда пустые #2

Open
CrashXD opened this issue Mar 19, 2019 · 0 comments
Open

Comments

@CrashXD
Copy link

CrashXD commented Mar 19, 2019

Не могу понять в чем причина, но при использовании offsetPaginate в ответе links->first и links->last всегда равны null.
При этом links->prev, links->next и все остальные параметры генерируются правильно.

В контроллере использую так:
public function index() { return new LanguagesResource(Language::offsetPaginate()); }

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

No branches or pull requests

1 participant