From b68c4c1a898b6f2e7b5a10e06981bba7211274e1 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 2 Nov 2010 13:03:01 +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 99c9788e90..c2a8169529 100644 --- a/phpgwapi/inc/class.uiaccountsel.inc.php +++ b/phpgwapi/inc/class.uiaccountsel.inc.php @@ -433,7 +433,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) {