mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
issue 1262 fixed
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10160 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
89cd0aa7a7
commit
e5c075493c
2 changed files with 16 additions and 8 deletions
|
|
@ -86,11 +86,19 @@
|
|||
// 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 != 'last_login') {
|
||||
if(!$sort_index) {
|
||||
$sort_index = "list_order";
|
||||
}else{
|
||||
$sort_order = 'desc';
|
||||
}
|
||||
|
||||
if(!$sort_order) {
|
||||
$sort_order = 'desc';
|
||||
}
|
||||
|
||||
if($sort_order != 'desc')
|
||||
{
|
||||
$sort_order = 'asc';
|
||||
}
|
||||
|
||||
if($args->selected_group_srl) {
|
||||
$query_id = 'member.getMemberListWithinGroup';
|
||||
$args->sort_index = "member.".$sort_index;
|
||||
|
|
@ -98,7 +106,7 @@
|
|||
$query_id = 'member.getMemberList';
|
||||
$args->sort_index = $sort_index;
|
||||
}
|
||||
if($sort_order != "desc") $sort_order = "asc";
|
||||
|
||||
$args->sort_order = $sort_order;
|
||||
Context::set('sort_order', $sort_order);
|
||||
// Other variables
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue