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

Pagination In Custom Method #620

Open
Amik-TJ opened this issue Aug 16, 2021 · 1 comment
Open

Pagination In Custom Method #620

Amik-TJ opened this issue Aug 16, 2021 · 1 comment
Labels

Comments

@Amik-TJ
Copy link

Amik-TJ commented Aug 16, 2021

I am using a controller which is extending JSONAPICONTROLLER. But in my index method I have overridden it. So Now I am trying to paginate the data and send them but facing difficulties. Can anyone help ?

image

@lindyhopchris
Copy link
Member

You'd need to provide the pagination parameters from the request to the paginate() method you're calling. I'm assuming that's the problem, but not sure - you'd need to provide more info on what isn't working if that's not the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants