@@ -30,7 +30,7 class UsersController < ApplicationController | |||
|
30 | 30 | |
|
31 | 31 | def index |
|
32 | 32 | sort_init 'login', 'asc' |
|
33 |
sort_update %w(login firstname lastname |
|
|
33 | sort_update %w(login firstname lastname admin created_on last_login_on) | |
|
34 | 34 | |
|
35 | 35 | case params[:format] |
|
36 | 36 | when 'xml', 'json' |
@@ -28,7 +28,7 | |||
|
28 | 28 | <%= sort_header_tag('login', :caption => l(:field_login)) %> |
|
29 | 29 | <%= sort_header_tag('firstname', :caption => l(:field_firstname)) %> |
|
30 | 30 | <%= sort_header_tag('lastname', :caption => l(:field_lastname)) %> |
|
31 | <%= sort_header_tag('mail', :caption => l(:field_mail)) %> | |
|
31 | <th><%= l(:field_mail) %></th> | |
|
32 | 32 | <%= sort_header_tag('admin', :caption => l(:field_admin), :default_order => 'desc') %> |
|
33 | 33 | <%= sort_header_tag('created_on', :caption => l(:field_created_on), :default_order => 'desc') %> |
|
34 | 34 | <%= sort_header_tag('last_login_on', :caption => l(:field_last_login_on), :default_order => 'desc') %> |
General Comments 0
You need to be logged in to leave comments.
Login now