Fixes in visualization (groups selection)
This commit is contained in:
parent
da7f286b22
commit
09a5bad4f1
|
@ -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'),
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue