Project

General

Profile

Feature #10873 » additional_user_format.patch

Alexander Kriventsov, 2012-05-10 09:39

View differences:

app/models/user.rb 2012-05-10 07:34:53.000000000 +0000
31 31
    :firstname_lastname => {:string => '#{firstname} #{lastname}', :order => %w(firstname lastname id)},
32 32
    :firstname => {:string => '#{firstname}', :order => %w(firstname id)},
33 33
    :lastname_firstname => {:string => '#{lastname} #{firstname}', :order => %w(lastname firstname id)},
34
    :lastname_firstname_parenthesis_username => {:string => '#{lastname} #{firstname} (#{login})', :order => %w(lastname firstname login id)},
34 35
    :lastname_coma_firstname => {:string => '#{lastname}, #{firstname}', :order => %w(lastname firstname id)},
35 36
    :username => {:string => '#{login}', :order => %w(login id)},
36 37
  }
(1-1/2)