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

Wrong pagination link list when found result is zero #2

Open
GooDer opened this issue Aug 6, 2019 · 0 comments
Open

Wrong pagination link list when found result is zero #2

GooDer opened this issue Aug 6, 2019 · 0 comments

Comments

@GooDer
Copy link

GooDer commented Aug 6, 2019

range.push(last)

When we have zero found items we are automatically adding "0" to pagination.

Result is then something like this:
1 ... 0 Next

In this case I think neither 0 nor Next is correct there since there is just one blank page.

Parameters:
page=1
count=0
perPage=10

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