Skip to content

Order same-day history sessions by completionDateTime#751

Merged
LiamMorrow merged 1 commit into
LiamMorrow:mainfrom
MohamedKiouaz:fix/history
May 8, 2026
Merged

Order same-day history sessions by completionDateTime#751
LiamMorrow merged 1 commit into
LiamMorrow:mainfrom
MohamedKiouaz:fix/history

Conversation

@MohamedKiouaz
Copy link
Copy Markdown
Contributor

Currently, when addind 2 sessions on the same day, they appear in a random order in the history as the current ordering is made using date only.

This uses completionDateTime to order the sessions.

@MohamedKiouaz
Copy link
Copy Markdown
Contributor Author

Tested, it works, I am not sure if the implementation is 100 right.

@MohamedKiouaz MohamedKiouaz marked this pull request as ready for review May 5, 2026 07:00
Copy link
Copy Markdown
Owner

@LiamMorrow LiamMorrow left a comment

Choose a reason for hiding this comment

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

Yeah that seems reasonble. I'll be honest I'm not sure why the thenByDescending isn't doing exactly what this should be but 🤷 Love the new test

@LiamMorrow LiamMorrow merged commit af3ed46 into LiamMorrow:main May 8, 2026
@MohamedKiouaz MohamedKiouaz deleted the fix/history branch May 8, 2026 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants