diff --git a/pandora_console/godmode/groups/group_list.php b/pandora_console/godmode/groups/group_list.php
index 431b07ba59..ff41dbffab 100644
--- a/pandora_console/godmode/groups/group_list.php
+++ b/pandora_console/godmode/groups/group_list.php
@@ -771,12 +771,7 @@ if ($tab == 'tree') {
}
$search_group_string = get_parameter('search_group_string', '');
- $search_agent_string = get_parameter('search_agent_string', '');
- $agent_status = get_parameter('agent_status', '');
- $show_not_init_agents = get_parameter('show_not_init_agents', 1);
- $show_not_init_modules = get_parameter('show_not_init_modules', 1);
- $show_full_hirearchy = get_parameter('show_full_hirearchy', 1);
-
+ $show_full_hirearchy = get_parameter('show_full_hirearchy', 0);
$table->data = [];
$table->head = [];
@@ -800,42 +795,7 @@ if ($tab == 'tree') {
)
);
- $agents_status_list = agents_status_list();
-
$table->data[0][1] = html_print_label_input_block(
- __('Search by agent status').ui_print_help_tip(__('Shows the groups that contain an agent with the status that has been searched'), true),
- html_print_select(
- $agents_status_list,
- 'agent_status',
- $agent_status,
- '',
- __('All'),
- '',
- true,
- false,
- false,
- 'w200p',
- false,
- 'width: 100%;'
- )
- );
-
- $table->data[1][0] = html_print_label_input_block(
- __('Search by agent').ui_print_help_tip(__('Shows groups that contain an agent matching the search'), true),
- html_print_input_text(
- 'search_agent_string',
- $search_agent_string,
- '',
- 25,
- 255,
- true,
- false,
- false,
- '',
- )
- );
-
- $table->data[1][1] = html_print_label_input_block(
__('Show full hierarchy'),
html_print_checkbox_switch_extended(
'show_full_hirearchy',
@@ -848,9 +808,8 @@ if ($tab == 'tree') {
)
);
- $table->data[3][0] = ' ';
-
- $table->data[3][1] = html_print_submit_button(
+ $table->data[0][2] .= ' ';
+ $table->data[0][2] .= html_print_submit_button(
__('Filter'),
'filter',
false,
@@ -865,8 +824,6 @@ if ($tab == 'tree') {
$form .= html_print_table($table, true);
$form .= '';
-
-
ui_toggle(
$form,
'',
@@ -1207,8 +1164,7 @@ $tab = 'group_edition';