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

Fixes sorting order of trash items #4845

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

akolson
Copy link
Member

@akolson akolson commented Dec 3, 2024

Summary

This pr fixes a pagination issue in the trashed items where newly shown resources are displayed on top of the page making it seems like nothing has happened on clicking the "Show more" button.

Screen.Recording.2024-12-03.at.14.57.58.mov

References

Fixes #4837

Reviewer guidance

  1. Sign in to studio
  2. Delete a large number of resources and open the channel's Trash page
  3. Click on 'Show more'
  4. Observe the behavior

Copy link
Member

@bjester bjester left a comment

Choose a reason for hiding this comment

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

We should add a followup to address the existing reverse usage. I believe we do want it reversed, which means the most recently modified are first, but I think this will address the major issue and is an improvement in the current behavior. We'll just have to address the fetch ordering in the followup to re-implement the reverse for a future release

@bjester bjester merged commit 6a76e74 into learningequality:hotfixes Dec 3, 2024
13 checks passed
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.

2 participants