ita-social-projects/GreenCity

[Pick up City. Admin cabinet. Orders] The 'Payment date' column is missing values when sorting from newest to oldest

yulianagoncharenko opened this issue · 0 comments

Environment: Windows 10 Pro for Workstations, Google Chrome 124.0.6367.93
Reproducible: always
Build found: 02 May 2024 (prod)

Preconditions
Log in as Admin https://www.pick-up.city/#/ubs-admin/orders

Steps to reproduce

  1. Click on the arrow icon near the column heading 'Payment date' to sort oldest to newest order.
  2. Pay attention to the sorting in the column.

Actual result
After the first click on arrow icon the items in the column are sorted from the oldest dates to the newest ones, but the newest orders , for example order number 153 and 154, paid on 03 May 2024, are missing. After the second click on arrow icon the items are sorted from the newest dates to the oldest ones and these orders with payment date 03 may 2024 are shown.

https://www.awesomescreenshot.com/video/27339163?key=50d0f7b66215ed24427eb643ea7e48cf

Expected result
Orders 153 and 154 are shown first as they are currently the newest paid orders.

User story and test case links
#3336

Labels to be added
"Bug", Priority ("pri: "), Severity ("severity:"), Type ("UI, "Functional"), "API" (for back-end bugs).