[BTAPI-50] Fix transaction ordering: _id descending tiebreaker #58
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/BTAPI-50"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ticket
BTAPI-50 Fix transaction ordering: same-timestamp transactions appear in wrong order
Summary
getForWeeksort from{ date: -1, _id: 1 }to{ date: -1, _id: -1 }so same-timestamp transactions are ordered most-recently-inserted first_iddescending tiebreaker to the app client-side sort so display order stays consistent with the server after optimistic updates