Group results is different between MySQL and PostgreSQL
Recently we've migrated a huge DB from MySQL to PostgreSQL. And noticed a small difference with Group results by function.
As you see the screenshot below, MySQL shows (blank) group first but PostgreSQL shows (blank) group last.
I guess it is because `NULLS LAST` is the default for ASC order in PostgreSQL.
Can you enforce `NULLS FIRST` in the SQL query to postgres?
We believe that it would be very much appreciated since many of our users want to group issues by assignee to find unassigned issues. Also it would be nice if Redmine works consistently irrespective of db engines.
Redmine version 3.4.11.stable Ruby version 2.4.6-p354 (2019-04-01) [x86_64-linux] Rails version 184.108.40.206 Database adapter PostgreSQL
#3 Updated by Yuichi HARADA 2 months ago
I think the reason why the test failed with TimelogControllerTest#test_index_grouped_by_issue is the same.