mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
"missing order account_fullname for sql"
This commit is contained in:
parent
1afe8f6f9a
commit
a607738c61
@ -328,7 +328,14 @@ class accounts_sql
|
||||
'account_lastname' => 'n_family',
|
||||
'account_email' => 'contact_email',
|
||||
);
|
||||
if (isset($order2contact[$order])) $order = $order2contact[$order];
|
||||
|
||||
// fetch order of account_fullname from common::display_fullname
|
||||
if (strpos($order,'account_fullname') !== false)
|
||||
{
|
||||
$order = str_replace('account_fullname',preg_replace('/[ ,]+/',',',str_replace(array('[',']'),'',
|
||||
common::display_fullname('account_lid','account_firstname','account_lastname'))),$order);
|
||||
}
|
||||
$order = str_replace(array_keys($order2contact),array_values($order2contact),$order);
|
||||
if ($sort) $order .= ' '.$sort;
|
||||
|
||||
switch($_type)
|
||||
|
Loading…
Reference in New Issue
Block a user