ita-social-projects/GreenCity

[Pick up City. Admin cabinet. Orders] The 'Час вивезення' column isn't sorted in asc. order based on first HH\MM in range

yulianagoncharenko opened this issue · 0 comments

Environment: Windows 10 Pro for Workstations, Firefox 126.0b8 (32-bit)
Reproducible: always
Build found: 06 May 2024 (test)

Preconditions

  1. Log in as Admin https://www.greencity.social/#/ubs-admin/orders
  2. Ukrainian localisation selected.
  3. Filter by 'half-paid' Payment status is appllied.

Steps to reproduce

  1. Click on the arrow icon near the column heading 'Час вивезення' to sort in desc. order based on first HH\MM in range. Pay attention to the sorting in the column.
    Click again on the arrow icon near the column heading 'Час вивезення' to sort in asc. order based on first HH\MM in range. Pay attention to the sorting in the column.

Actual result
After the first click on arrow icon the items in the column are sorted asc. order based on first HH\MM in range.
image
After the second click the items in this column are sorted in descending order based on first HH\MM in range.
image

Expected result
After the first click on arrow icon the items to be sorted in desc. order based on first HH\MM in range. After the second click on arrow icon the items to be sorted in asc. order based on first HH\MM in range.

User story and test case links
#3336

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