Sort people by display name
I have set my user display to be <FirstName> <LastName>
In drop down lists users are sorted in that order:
However on display of issues, both sorting on Assigned To column, and grouping on Assigned To still sorts by LastName, FirstName which is surprisingly hard to work with - I can never find the people I am looking for:
#1 Updated by Steven Chanin over 9 years ago
- File 0001-Fix-6244-Make-Issues-use-Setting.user_format.patch added
- Status changed from New to Resolved
- Assignee set to Eric Davis
The problem was that the query#available_columns was using a hard coded set of mappings for @@available_columns to convert between logical columns and underlying database columns to sort by and was not taking into account the value for user_format in the Settings table.
The following small patch (with tests) changes this. All specs pass and I have manually tested things in a browser in both development and production modes.
I haven't looked at the Redmine code in a couple of years, so please review the patch before applying.