Admin: Do not send groups again just for readonly 'Primary group' column

This commit is contained in:
nathan 2022-10-21 11:45:44 -06:00
parent 0596cb501b
commit 71c1282a8b
2 changed files with 1 additions and 5 deletions

View File

@ -88,8 +88,6 @@ class admin_ui
'title' => $data['account_description'],
);
}
$sel_options['account_primary_group'] = $sel_options['filter'];
unset($sel_options['account_primary_group']['']);
$sel_options['filter2'] = array(
'' => 'All',

View File

@ -42,9 +42,7 @@
<description id="${row}[account_firstname]" no_lang="1"/>
<description id="${row}[account_lastname]" no_lang="1"/>
<url-email id="${row}[account_email]" readonly="true" class="adminOverflowEllipsis"/>
<menulist>
<menupopup id="${row}[account_primary_group]" no_lang="1" readonly="true"/>
</menulist>
<select-account id="${row}[account_primary_group]" no_lang="1" readonly="true"/>
<description id="${row}[status]" no_lang="1" class="adminStatus"/>
<date-time id="${row}[account_created]" readonly="true"/>
<date-time id="${row}[account_modified]" readonly="true"/>