Fixes in visualization (groups selection)

This commit is contained in:
fbsanchez 2020-09-11 15:17:08 +02:00
parent da7f286b22
commit 09a5bad4f1
2 changed files with 10 additions and 19 deletions

View File

@ -760,17 +760,16 @@ class CredentialStore extends Wizard
'form' => [
'inputs' => [
[
'label' => __('Group'),
'type' => 'select',
'id' => 'filter_id_group',
'name' => 'filter_id_group',
'options' => users_get_groups_for_select(
$config['id_user'],
'AR',
true,
true,
false
),
'label' => __('Group'),
'type' => 'select_groups',
'id' => 'filter_id_group',
'name' => 'filter_id_group',
'returnAllGroup' => false,
'privilege' => 'AR',
'type' => 'select_groups',
'selected' => $id_group_filter,
'return' => true,
'size' => '80%',
],
[
'label' => __('Free search'),

View File

@ -868,14 +868,6 @@ if (is_metaconsole() !== true) {
*/
// Group.
$user_groups_array = users_get_groups_for_select(
$config['id_user'],
$access,
true,
true,
false
);
$data = html_print_input(
[
'name' => 'id_group_filter',