Skip to content

Commit

Permalink
sort members in group by alphabet
Browse files Browse the repository at this point in the history
  • Loading branch information
thangnguyennang committed May 22, 2015
1 parent f3194c8 commit eae583d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/group/zmt_group.admin.inc
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,10 @@ function zmt_group_edit_form($form, &$form_state, $group){
$form_state['available_members'] = $available_members;
$form_state['group_members'] = $members;
}


asort($form_state['available_members']);
asort($form_state['group_members']);

$form['member_container'] = array(
'#type' => 'container',
'#prefix' => '<div id="member-container-wapper">',
Expand Down

0 comments on commit eae583d

Please sign in to comment.