Closed nata000 closed 5 months ago
The statuses of order are not sorted in the “Я”-”A” format on the 'Статус замовлення" column after clicking on the arrow icon
Sorting works only in English localization, since property used for sorting - orderStatus
, comes in English only. So when we make a request to fetch data in asc or desc order, system does it accordingly to English alphabet, not depending on the language chosen.
The way to resolve the bug is to add orderStatus
in both languages in the endpoint https://greencity-ubs.greencity.social/ubs/management/bigOrderTable
, so the frontend can get sorted tables depending on the user's language.
Dublicate #5527
Environment: macOS Big Sur 11.3,Google Chrome 105.0.5195.125 Reproducible:always Build found: 29.01.2023
Preconditions
User is logged in as administrator. User navigated to the Orders tab There is at least two order on the 'Order' table with different statuses
Steps to reproduce
Actual result The statuses of order are not sorted in the “Я”-”A” format on the 'Статус замовлення" column after clicking on the arrow icon Expected result The statuses of order are sorted in the “Я”-”A” format and icon points upwards on the 'Статус замовлення" column after clicking on the arrow icon
User story and test case links E.g.: "User story #2537
Labels to be added "Bug", Priority ("pri: "), Severity ("severity:"), Type ("UI, "Functional"), "API" (for back-end bugs).