Feature #22497
openSorting and displaying users is different order
0%
Description
I tried to sort users (mainly in watchers list) in a different order than the order of displaing them. While users are to be displayed in the 'firstname lastname' order, I wanted to sort them by their lastname ('lastname firstname'), for example: "John Doe, Ann Smith" instead of the default sorting for this type of display "Ann Smith, John Doe".
I changed the order the ':order' field in /models/user.rb but it seems that it affected nothing - the users are still ordered according to the setting in ':string' field.
What does the ':order' do then?
Environment:
  Redmine version                2.4.2.stable
  Ruby version                   1.9.3-p484 
  Rails version                  3.2.16
      
      Updated by Toshi MARUYAMA over 9 years ago
      
    
    - Tracker changed from Defect to Feature
 - Category changed from Issues planning to Accounts / authentication
 
      
      Updated by philippe lhardy almost 2 years ago
      
    
    Quickly looking at this i wonder it is #40100.
ordering comes from sorted, but can be defeated later by any call to sort on collections.