diff --git a/pandora_console/include/functions_inventory.php b/pandora_console/include/functions_inventory.php index 0f47ba6e12..4146e9f2ac 100644 --- a/pandora_console/include/functions_inventory.php +++ b/pandora_console/include/functions_inventory.php @@ -770,8 +770,6 @@ function inventory_get_datatable( } } - // hd($module_rows); - // echo ''; return $module_rows; } else { $agents_rows = []; diff --git a/pandora_console/operation/inventory/inventory.php b/pandora_console/operation/inventory/inventory.php index 76c22a3a57..13d5a6c10a 100755 --- a/pandora_console/operation/inventory/inventory.php +++ b/pandora_console/operation/inventory/inventory.php @@ -360,7 +360,8 @@ $table->data[0][1] .= ''; $table->data[0][2] = ''.__('Module').''; if ($is_metaconsole === true) { - $table->data[0][3] = html_print_select($fields, 'module_inventory_general_view', $inventory_module, $filteringFunction, __('Basic info'), 0, true, false, true, '', false, 'min-width: 194px; max-width: 200px;'); + // array_unshift($fields, __('All')); + $table->data[0][3] = html_print_select($fields, 'module_inventory_general_view', $inventory_module, $filteringFunction, __('All'), 0, true, false, true, '', false, 'min-width: 194px; max-width: 200px;'); } else { $sql = 'SELECT name as indexname, name FROM tmodule_inventory, tagent_module_inventory @@ -381,7 +382,7 @@ if ($is_metaconsole === true) { $fields[$id] = $value; } - array_unshift($fields, 'All'); + array_unshift($fields, __('All')); $table->data[0][3] = html_print_select($fields, 'module_inventory_general_view', $inventory_module, '', __('Basic info'), 'basic', true, false, false); }