mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix #907 support more sort options in member list
This commit is contained in:
parent
5e572a168d
commit
b6b06af336
2 changed files with 6 additions and 2 deletions
|
|
@ -120,7 +120,7 @@ class memberAdminModel extends member
|
|||
// Change the query id if selected_group_srl exists (for table join)
|
||||
$sort_order = Context::get('sort_order');
|
||||
$sort_index = Context::get('sort_index');
|
||||
if(!$sort_index)
|
||||
if(!$sort_index || !in_array($sort_index, ['user_id', 'email_address', 'phone_number', 'user_name', 'nick_name', 'regdate', 'last_login']))
|
||||
{
|
||||
$sort_index = "list_order";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue