Commit e11c1ab6 authored by Richard Mansfield's avatar Richard Mansfield

Sort institution drop-down on admin edit user page

Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 6fa42c05
......@@ -352,7 +352,7 @@ $elements = array(
),
);
$allinstitutions = get_records_assoc('institution');
$allinstitutions = get_records_assoc('institution', '', '', 'displayname');
foreach ($user->get('institutions') as $i) {
$elements[$i->institution.'_settings'] = array(
'type' => 'fieldset',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment