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

[RFR] Fix out of boundaries pagination does not allow pagination #2365

Merged
merged 2 commits into from
Sep 28, 2018

Conversation

fzaninotto
Copy link
Member

We don't display the "out of boundaries" message anymore. Instead, we get back to page 1 (when page < 1) or to the last page (when page > last Page) without showing any notice.

kapture 2018-09-28 at 8 34 14

The first check is done in our Pagination's componentDidUpdate, the second check is done in material-ui's <TablePagination>.

The ra.navigation.page_out_of_boundaries message is still required by Pagination.handlePageChange, so I didn't remove it from translation files.

Closes #2350

@fzaninotto fzaninotto added this to the 2.3.3 milestone Sep 28, 2018
@djhi djhi merged commit b49f10f into master Sep 28, 2018
@djhi djhi deleted the fix-out-of-boundaries-pagination branch September 28, 2018 17:36
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.

2 participants