mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Don't let users be sorted by email (#19161).
git-svn-id: http://svn.redmine.org/redmine/trunk@14140 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
84c8ca6fef
commit
c0c05ec41e
@ -30,7 +30,7 @@ class UsersController < ApplicationController
|
||||
|
||||
def index
|
||||
sort_init 'login', 'asc'
|
||||
sort_update %w(login firstname lastname mail admin created_on last_login_on)
|
||||
sort_update %w(login firstname lastname admin created_on last_login_on)
|
||||
|
||||
case params[:format]
|
||||
when 'xml', 'json'
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
<%= sort_header_tag('login', :caption => l(:field_login)) %>
|
||||
<%= sort_header_tag('firstname', :caption => l(:field_firstname)) %>
|
||||
<%= sort_header_tag('lastname', :caption => l(:field_lastname)) %>
|
||||
<%= sort_header_tag('mail', :caption => l(:field_mail)) %>
|
||||
<th><%= l(:field_mail) %></th>
|
||||
<%= sort_header_tag('admin', :caption => l(:field_admin), :default_order => 'desc') %>
|
||||
<%= sort_header_tag('created_on', :caption => l(:field_created_on), :default_order => 'desc') %>
|
||||
<%= sort_header_tag('last_login_on', :caption => l(:field_last_login_on), :default_order => 'desc') %>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user