Skip to content

Pagination Issue #224

@pradnyakulkarni

Description

@pradnyakulkarni

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions