-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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(messages): support multi-parameter sorting for IM/DM messages #34009
base: develop
Are you sure you want to change the base?
Conversation
Previously, the sorting for IM/DM messages relied only on the `ts` timestamp. This fix updates the logic to allow sorting by multiple parameters, similar to group messages, enhancing consistency across message types. Closes RocketChat#34008
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to add a changeset for this change. And I think this is more a feat than a fix
…was provided, which is by ts in descending order. A test case has been added as well to the test suite ensuring that the messages fetched adhere to the sorting parameter provided.
|
Previously, the sorting for IM/DM messages relied only on the
ts
timestamp. This fix updates the logic to allow sorting by multiple parameters, similar to group messages, enhancing consistency across message types.Closes #34008
CORE-830