mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
allways add "account_lid" to order of accounts, as groups only have that, also at ASC/DESC sort to each order criteria
This commit is contained in:
parent
ad04ba821d
commit
d20ce47a8d
@ -395,7 +395,7 @@ class accounts_sql
|
||||
// allways add 'account_lid', as it is only valid one for groups
|
||||
if (strpos($order, 'account_lid') === false)
|
||||
{
|
||||
$order .= ',account_lid';
|
||||
$order .= ($order?',':'').'account_lid';
|
||||
}
|
||||
if ($sort) $order = implode(' '.$sort.',', explode(',', $order)).' '.$sort;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user