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' => [ 'form' => [
'inputs' => [ 'inputs' => [
[ [
'label' => __('Group'), 'label' => __('Group'),
'type' => 'select', 'type' => 'select_groups',
'id' => 'filter_id_group', 'id' => 'filter_id_group',
'name' => 'filter_id_group', 'name' => 'filter_id_group',
'options' => users_get_groups_for_select( 'returnAllGroup' => false,
$config['id_user'], 'privilege' => 'AR',
'AR', 'type' => 'select_groups',
true, 'selected' => $id_group_filter,
true, 'return' => true,
false 'size' => '80%',
),
], ],
[ [
'label' => __('Free search'), 'label' => __('Free search'),

View File

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