Defect #6244
closed
Sort people by display name
Added by Ewan Makepeace about 14 years ago.
Updated about 4 years ago.
Description
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:
Related #1841, #1708
Files
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.
- Category changed from UI to Issues
- Status changed from Resolved to New
- Assignee deleted (
Eric Davis)
Please don't mark an issue as resolved or assign it to anyone.
Felix,
Can you take a look at this bug (and patch) and let me know what you think? 1.0.x or 1.1?
- Status changed from New to 7
- Assignee set to Felix Schäfer
Will do, probably this WE.
- Assignee deleted (
Felix Schäfer)
- Status changed from 7 to New
Assigned issue with no assignee back to New status.
- Is duplicate of Defect #9669: Issue list doesn't sort assignees/authors regarding user display format added
- Status changed from New to Closed
- Resolution set to Fixed
Fixed by #9669 (Redmine 1.3.0).
- Resolution changed from Fixed to Duplicate
Also available in: Atom
PDF