Project

General

Profile

Actions

Defect #6244

closed

Sort people by display name

Added by Ewan Makepeace about 14 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2010-08-29
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

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

dropdown.jpg (43.7 KB) dropdown.jpg Ewan Makepeace, 2010-08-29 08:01
sorted.jpg (49.1 KB) sorted.jpg Ewan Makepeace, 2010-08-29 08:01
grouped.jpg (35.3 KB) grouped.jpg Ewan Makepeace, 2010-08-29 08:01
0001-Fix-6244-Make-Issues-use-Setting.user_format.patch (4.4 KB) 0001-Fix-6244-Make-Issues-use-Setting.user_format.patch Patch for defect 6244 -- respect Setting.user_format in Issues display Steven Chanin, 2010-09-21 21:21

Related issues

Is duplicate of Redmine - Defect #9669: Issue list doesn't sort assignees/authors regarding user display formatClosedJean-Philippe Lang2011-11-26

Actions
Actions #1

Updated by Steven Chanin about 14 years ago

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.

Actions #2

Updated by Eric Davis about 14 years ago

  • 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.

Actions #3

Updated by Eric Davis about 14 years ago

Felix,

Can you take a look at this bug (and patch) and let me know what you think? 1.0.x or 1.1?

Actions #4

Updated by Felix Schäfer about 14 years ago

  • Status changed from New to 7
  • Assignee set to Felix Schäfer

Will do, probably this WE.

Actions #5

Updated by Felix Schäfer almost 14 years ago

  • Assignee deleted (Felix Schäfer)
Actions #6

Updated by Jean-Philippe Lang almost 12 years ago

  • Status changed from 7 to New

Assigned issue with no assignee back to New status.

Actions #7

Updated by Go MAEDA about 4 years ago

  • Is duplicate of Defect #9669: Issue list doesn't sort assignees/authors regarding user display format added
Actions #8

Updated by Go MAEDA about 4 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Fixed by #9669 (Redmine 1.3.0).

Actions #9

Updated by Go MAEDA about 4 years ago

  • Resolution changed from Fixed to Duplicate
Actions

Also available in: Atom PDF