From 42508c4f63fe223e5d80368a58057bd5b71cc72d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 2 Nov 2010 13:03:42 +0000 Subject: [PATCH] fixed wired sorting (no sorting) of groups in account selection popup --- phpgwapi/inc/class.uiaccountsel.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.uiaccountsel.inc.php b/phpgwapi/inc/class.uiaccountsel.inc.php index 228735b604..fd8de8cbaa 100644 --- a/phpgwapi/inc/class.uiaccountsel.inc.php +++ b/phpgwapi/inc/class.uiaccountsel.inc.php @@ -423,7 +423,9 @@ function addOption(id,label,value,do_onchange) $app_groups = $this->accounts->split_accounts($app,'groups'); } $all_groups = $this->accounts->search(array( - 'type' => 'groups', + 'type' => 'groups', + 'order' => 'account_lid', + 'sort' => 'ASC', )); foreach($all_groups as $group) {