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 indexes off when no items are returned #173

Closed
bnjobob opened this issue May 23, 2012 · 0 comments
Closed

Pagination indexes off when no items are returned #173

bnjobob opened this issue May 23, 2012 · 0 comments

Comments

@bnjobob
Copy link

bnjobob commented May 23, 2012

When there are 0 items returned to the list, the results count shows 1-0 of 0 results.

The pages navigation also always shows an extra page. If there are 0 results, it shows an extra 0 page that on activation performs a request for a negative range (items=-9--1). If there are more than 0 results, but only enough to fit on 1 page, there is an extra page link 1 that is disabled.

@ghost ghost closed this as completed in 77f9fde May 24, 2012
This issue was closed.
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