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 Issue #224

Open
pradnyakulkarni opened this issue Feb 22, 2017 · 0 comments
Open

Pagination Issue #224

pradnyakulkarni opened this issue Feb 22, 2017 · 0 comments

Comments

@pradnyakulkarni
Copy link

pradnyakulkarni commented Feb 22, 2017

I got wierd issue while working with this gem. Can anyone guide me?

When i change the show count value, while on the last page, results in a blank page being added to the page display & If the last page is selected "No records were found" is displayed and showing count is outside of the range of available records.
"Showing 201 to 183 of 183 records"

Basically, in ajax call request value of iDisplayStart is wrong .
eg. if we have 183 records & user is using 50 as a displayLength then on last page iDisplayStart is 151 but on last page if user changes displayLength to 100 instead of showing records from 151 it is showing it from 83, at iDisplayStart is 83 in ajax url. & all records are displayed still it showing another page to navigate & after clicking on that page above mentioned issue is coming

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