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

Fix unexpected List Page Change #5263

Merged
merged 1 commit into from
Sep 18, 2020

Conversation

jdemangeon
Copy link
Contributor

@jdemangeon jdemangeon commented Sep 16, 2020

This fix avoid resetting current page (in a list) when the total is resetted (during loading phase).
This way, the demo "reviews" page don't go to the first page when we accept or reject a review.

I also removed the redirect to "/reviews" when we accept or reject reviews in bulk mode. This way we stay on the current page of reviews

Closes #5168
Closes #5185

@jdemangeon jdemangeon added the RFR Ready For Review label Sep 16, 2020
@jdemangeon jdemangeon added this to the 3.8.5 milestone Sep 16, 2020
@jdemangeon jdemangeon linked an issue Sep 16, 2020 that may be closed by this pull request
Copy link
Collaborator

@djhi djhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@fzaninotto
Copy link
Member

Can you please add a description? It seems this solves 2 different bugs

@jdemangeon
Copy link
Contributor Author

Review applied

@jdemangeon jdemangeon force-pushed the fix-unexpected-list-controller-page-change branch from d9b7dfa to 09013a2 Compare September 17, 2020 07:49
@djhi djhi merged commit 2bd5f5d into master Sep 18, 2020
@djhi djhi deleted the fix-unexpected-list-controller-page-change branch September 18, 2020 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update row in list view redirect to first page Pagination broke after e6357bc
3 participants