ita-social-projects / GreenCity

The main aim of “GreenCity” project is to teach people in a playful and challenging way to have an eco-friendly lifestyle. A user can view on the map places that have some eco-initiatives or suggest discounts for being environmentally aware (for instance, coffee shops that give a discount if a customer comes with their own cup). А user can start doing an environment-friendly habit and track their progress with a habit tracker.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Test environment. Admin cabinet. Orders] The 'Статус оплати' column isn't sorted in alphabetical order “А”-”Я” / “Я”-”A” in the Order table with Ukrainian localization #7095 #7104

lukovskyj opened this issue · comments

Environment: Ubuntu 23.04, Mozilla Firefox 126.0.1
Reproducible: always

Preconditions

Log in as Admin https://www.greencity.social/#/ubs-admin/orders
Ukrainian localization is chosen.
Filter by payment status 'Оплачено' in the column 'Статус оплати' is applied.

Steps to reproduce

Click on the arrow icon near the column heading 'Статус оплати' to sort in "А-Я" оrder. Pay attention to the sorting in the column.
Click on the arrow icon near the column heading in the 'Статус оплати' to sort it in "Я-А" оrder. Pay attention to the sorting in the column.

Actual result
After the first click on arrow icon the items in the column are sorted in reverse alphabetical order ”Я”-“А” and arrow icon points upward. After the second click on arrow icon the items are sorted in alphabetical order ”А”-“Я” and arrow icon points downward.

Expected result
After the first click on arrow icon the items in the column should be sorted in alphabetical order “А”-”Я”.