Skip to content

Fixes sorting order of trash items#4845

Merged
bjester merged 1 commit intolearningequality:hotfixesfrom
akolson:fix-trash
Dec 3, 2024
Merged

Fixes sorting order of trash items#4845
bjester merged 1 commit intolearningequality:hotfixesfrom
akolson:fix-trash

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
@akolson akolson deleted the fix-trash branch January 9, 2026 11:31
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