fixed wired sorting (no sorting) of groups in account selection popup

This commit is contained in:
Ralf Becker 2010-11-02 13:04:03 +00:00
parent 593af03c73
commit a2ff799ab8

View File

@ -433,7 +433,9 @@ function addOption(id,label,value,do_onchange)
$app_groups = $this->accounts->split_accounts($app,'groups'); $app_groups = $this->accounts->split_accounts($app,'groups');
} }
$all_groups = $this->accounts->search(array( $all_groups = $this->accounts->search(array(
'type' => 'groups', 'type' => 'groups',
'order' => 'account_lid',
'sort' => 'ASC',
)); ));
foreach($all_groups as $group) foreach($all_groups as $group)
{ {