Fix #907 support more sort options in member list

This commit is contained in:
Kijin Sung 2020-12-16 21:54:47 +09:00
parent 5e572a168d
commit b6b06af336
2 changed files with 6 additions and 2 deletions

View file

@ -34,7 +34,11 @@
<thead>
<tr>
<th scope="col" class="nowr rx_detail_marks" cond="$profileImageConfig == 'Y' && $config->member_profile_view == 'Y'">{$lang->profile_image}</th>
<th scope="col" class="nowr" loop="$usedIdentifiers=>$name,$title">{$title}</th>
<!--@foreach($usedIdentifiers as $name => $title)-->
<th scope="col" class="nowr">
<a href="{getUrl('', 'module', 'admin', 'act', 'dispMemberAdminList', 'sort_index', $name, 'sort_order', ($sort_order == 'asc') ? 'desc' : 'asc', 'selected_group_srl', $selected_group_srl)}">{$title}<block cond="$sort_index == $name"> <em cond="$sort_order=='asc'"></em><em cond="$sort_order != 'asc'"></em></block></a>
</th>
<!--@endforeach-->
<th scope="col" class="nowr">{$lang->status}</th>
<th scope="col" class="nowr rx_detail_marks"><a href="{getUrl('', 'module', 'admin', 'act', 'dispMemberAdminList', 'sort_index', 'regdate', 'sort_order', ($sort_order == 'asc') ? 'desc' : 'asc', 'selected_group_srl', $selected_group_srl)}">{$lang->signup_date}<block cond="$sort_index == 'regdate'"> <em cond="$sort_order=='asc'"></em><em cond="$sort_order != 'asc'"></em></block></a></th>
<th scope="col" class="nowr rx_detail_marks"><a href="{getUrl('', 'module', 'admin', 'act', 'dispMemberAdminList', 'sort_index', 'last_login', 'sort_order', ($sort_order == 'asc') ? 'desc' : 'asc', 'selected_group_srl', $selected_group_srl)}">{$lang->last_login}<block cond="$sort_index == 'last_login'"> <em cond="$sort_order=='asc'"></em><em cond="$sort_order != 'asc'"></em></block></a></th>