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

Fixed bug on reload with empty page #866

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aheys
Copy link

@aheys aheys commented Jun 16, 2016

When calling .reload(), the pagination is updated according to the updated data. If the current page is empty (i.e. all rows are deleted) then the page is left empty with no elements. This fix will update the current page to the one prior.

@aheys aheys force-pushed the pagination_reload_fix branch from 43942ad to abef7bf Compare June 16, 2016 13:25
@aheys aheys force-pushed the pagination_reload_fix branch from acc20af to 2a03961 Compare June 16, 2016 14:34
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

Successfully merging this pull request may close these issues.

1 participant