From d4a2742a82d8c563f73d43f5136417200029354b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 28 Aug 2004 14:43:09 +0000 Subject: [PATCH] allow sorting after multiple criteria as in sql --- phpgwapi/inc/class.accounts_ldap.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.accounts_ldap.inc.php b/phpgwapi/inc/class.accounts_ldap.inc.php index 2308d56511..1fae54b169 100644 --- a/phpgwapi/inc/class.accounts_ldap.inc.php +++ b/phpgwapi/inc/class.accounts_ldap.inc.php @@ -547,7 +547,7 @@ { $order = 'account_lid'; } - $sortedAccounts = $arrayFunctions->arfsort($accounts,array($order),$sort); + $sortedAccounts = $arrayFunctions->arfsort($accounts,explode(',',$order),$sort); $this->total = count($accounts); // return only the wanted accounts