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

[7.x] [ML] Fix pagination reset on search query update. (#65668) #65814

Merged
merged 1 commit into from
May 8, 2020

Conversation

walterra
Copy link
Contributor

@walterra walterra commented May 8, 2020

Backports the following commits to 7.x:

Fixes pagination issue: When the query bar query changes, we need to check the selected page is still valid. Example: If you're on a last page (125), edit the filter, and it looks like the grid is trying to reload page 125 even though there are only 24 pages for the new query value you end up with an empty table.
This brings over a fix already in place for the transform data grids: On every search query change we'll reset the pagination index.
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@walterra walterra self-assigned this May 8, 2020
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@walterra walterra merged commit 05e890f into elastic:7.x May 8, 2020
@walterra walterra deleted the backport/7.x/pr-65668 branch May 8, 2020 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants