Skip to content

Commit e494cd9

Browse files
authored
updated calls to user paginable controller (#1971)
1 parent f0d0659 commit e494cd9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/views/paginable/users/_index.html.erb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<table class="table table-hover table-bordered">
66
<thead>
77
<tr>
8-
<th scope="col"><%= _('Name') %>&nbsp;<%= paginable_sort_link('firstname') %></th>
9-
<th scope="col"><%= _('Email') %>&nbsp;<%= paginable_sort_link('email') %></th>
8+
<th scope="col"><%= _('Name') %>&nbsp;<%= paginable_sort_link('users.firstname') %></th>
9+
<th scope="col"><%= _('Email') %>&nbsp;<%= paginable_sort_link('users.email') %></th>
1010
<th scope="col"><%= _('Organisation') %>&nbsp;<%= paginable_sort_link('orgs.name') %></th>
11-
<th scope="col" class="text-center date-column"><%= _('Created date') %>&nbsp;<%= paginable_sort_link('created_at') %></th>
12-
<th scope="col" class="text-center date-column"><%= _('Last activity') %>&nbsp;<%= paginable_sort_link('last_sign_in_at') %></th>
11+
<th scope="col" class="text-center date-column"><%= _('Created date') %>&nbsp;<%= paginable_sort_link('users.created_at') %></th>
12+
<th scope="col" class="text-center date-column"><%= _('Last activity') %>&nbsp;<%= paginable_sort_link('users.last_sign_in_at') %></th>
1313
<th scope="col" class="text-center sorter-false"><%= _('Plans') %></th>
1414
<th scope="col" class="text-center sorter-false"><%= _('Current Privileges') %></th>
1515
<th scope="col" class="text-center"><%= _('Active') %></th>

0 commit comments

Comments
 (0)