[WOOMOB-2286] Change POS bookings sort to oldest-to-newest#15403
Open
malinajirka wants to merge 3 commits intotrunkfrom
Open
[WOOMOB-2286] Change POS bookings sort to oldest-to-newest#15403malinajirka wants to merge 3 commits intotrunkfrom
malinajirka wants to merge 3 commits intotrunkfrom
Conversation
… in WooPosBookingsViewModel
Collaborator
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## trunk #15403 +/- ##
=========================================
Coverage 39.29% 39.29%
Complexity 10977 10977
=========================================
Files 2238 2238
Lines 127540 127540
Branches 17802 17802
=========================================
Hits 50113 50113
Misses 72318 72318
Partials 5109 5109 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fixes WOOMOB-2286
Description
Changed POS bookings list sorting from newest-to-oldest to oldest-to-newest. The POS and main Bookings tab share the same Room
Bookingstable. When they used different sort orders, cached data from one screen would briefly display in the wrong order when opening the other, causing a visible "jump" as the fresh fetch replaced it. Switching POS to oldest-to-newest aligns with the main Bookings tab and matches user expectations (start of day → end of day).Test Steps
RELEASE-NOTES.txtif necessary.