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

10536: Fix messages jumping when clicking message complete checkbox; #5829

Merged
merged 11 commits into from
Feb 28, 2025

Conversation

zachrog
Copy link
Contributor

@zachrog zachrog commented Feb 25, 2025

When sorting in descending order, the function first sorts the array and then reverses it using array.reverse(). When a checkbox is clicked, it the data is reversed for messages that have the same docket number.

This PR removes the double sort, and handles it inside of a single sort function and does not change the order of the list if the fields are the same.

@jimlerza jimlerza merged commit 2f66bc2 into ustaxcourt:staging Feb 28, 2025
45 checks passed
@jimlerza jimlerza deleted the 10536-bug-2 branch February 28, 2025 16:00
@jimlerza jimlerza mentioned this pull request Feb 28, 2025
2 tasks
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.

4 participants