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.
MIT License
65 stars 80 forks source link

[Pick up City. Admin cabinet. Orders] The 'Статус замовлення' column isn't sorted in alphabetical order “А”-”Я” / “Я”-”A” in the Order table with Ukrainian localization #5527

Open olyatyshchenko opened 1 year ago

olyatyshchenko commented 1 year ago

Environment: Windows 10, Google Chrome Version 111.0.5563.6 (Official Build) (64-bit).. Reproducible: always (Test and Prod). Build found: 23/03/2023.

Preconditions

Steps to reproduce

  1. Click on the arrow icon near the column headline in the 'Статус замовлення' column.
  2. Pay attention to the sorting in the column.
  3. Click on the arrow icon near the column headline in the 'Статус замовлення' column.
  4. Pay attention to the sorting in the column.

Actual result Sorting occurs in a random order after the first and second clicking on the arrow icon.

https://user-images.githubusercontent.com/120178274/227268749-78a42216-e244-41d3-a870-feab23af93eb.mp4

Expected result The order statuses are displayed in alphabetical order “А”-”Я” after first clicking on the arrow icon, and after second clicking on the arrow icon they are sorted in order “Я”-”A”.

User story and test case links E.g.: "User story #3336

yulianagoncharenko commented 5 months ago

The problem persists on production environment: Actual result Sorting occurs in a random order after the first click on the arrow icon image and after the second click on the error icon image

Maxv1z commented 5 months ago

Sorting is not random. It looks like this this, because it depends on "Order status" which info comes from back-end in English only. So filtering is based on English response of backend in field "orderStatus".

yulianagoncharenko commented 5 months ago

As per related change request Sorting for column 'Статус замовлення' should be done in alphabetical order “А”-”Я” / “Я”-”A” . This is not the case when Ukrainian localisation is chosen