[Advanced search] The results of sorting centers by name DESC on the site and in the DB is different
IrenZh opened this issue · comments
Environment: MacBook Pro 13-inch, 2015 Версія 12.3.1
Google Chrome Версія 109.0.5414.119 (x86_64)
Reproducible: always
Preconditions
Open the main page of the https://speak-ukrainian.org.ua/dev site
Steps to reproduce
- Click on the 'Розширений пошук' icon next to the search field
- Click on 'Центр' radio button
- Click on the '↑' icon in the 'Сортувати' bar
- Verify that the order of centers is the same in the DB
TD(SELECT id, name FROM centers ORDER BY name DESC LIMIT 6;)
Actual result
The results of sorting centers by name DESC on the site and in the DB is different
Expected result
The results of sorting centers by name DESC on the site and in the DB is the same
Hello! This may not be a bug! Check with the developers.
Sorting in a database and on a website can differ based on the database's sorting mechanism and how the website's code implements sorting algorithms to manipulate the data for display.