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

fixed pagination #55

Closed
wants to merge 2 commits into from
Closed

fixed pagination #55

wants to merge 2 commits into from

Conversation

Lewke
Copy link

@Lewke Lewke commented Feb 19, 2019

If you try to use the IndexAction with the page parameter specified it causes a 500.

I resolved this by properly associating the page parameter in the index action.

Is there a reason to set params manually? If not then that line can be removed, along with the test.

@tuyakhov
Copy link
Owner

tuyakhov commented May 6, 2020

The reason you were getting the error is that the correct query parameter should contain square brackets. That is also why params attribute was used. I improved the pagination handling and add a small note in the documentation to make it more clear.
See #63

@tuyakhov tuyakhov closed this May 6, 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

3 participants