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

Using custom schema causes wrong pagination #65

Open
kbzowski opened this issue May 2, 2018 · 1 comment
Open

Using custom schema causes wrong pagination #65

kbzowski opened this issue May 2, 2018 · 1 comment

Comments

@kbzowski
Copy link

kbzowski commented May 2, 2018

If a schema (either empty) is attached to routing,
and I set page and limit parameters in query, "skip" is calculated based on default "limit" value = 30 - not a value from query:

Bug

Skip should be 20 not 30.
In other words, if schema is attached 'skip' is calculated always based on default value.
With no schema attached - everything works fine.

I believe this is duplicate of #50
But that problem is still present.

@kbzowski kbzowski closed this as completed May 2, 2018
@kbzowski kbzowski reopened this May 2, 2018
@drochag
Copy link

drochag commented May 3, 2018

Check PR #52 , you might find workarounds there and further discussion.

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

2 participants