diff --git a/pandora_console/godmode/reporting/reporting_builder.item_editor.php b/pandora_console/godmode/reporting/reporting_builder.item_editor.php index 4806ef277f..901549b253 100755 --- a/pandora_console/godmode/reporting/reporting_builder.item_editor.php +++ b/pandora_console/godmode/reporting/reporting_builder.item_editor.php @@ -1847,6 +1847,10 @@ $class = 'databox filters'; 1 => __('Show module data'), ]; + if ($action === 'new' && empty($show_type) === true) { + $show_type = 1; + } + html_print_select( $show_select, 'show_type', diff --git a/pandora_console/include/lib/Dashboard/Widgets/agent_module.php b/pandora_console/include/lib/Dashboard/Widgets/agent_module.php index 92fa62e775..dbc0c1dcf5 100644 --- a/pandora_console/include/lib/Dashboard/Widgets/agent_module.php +++ b/pandora_console/include/lib/Dashboard/Widgets/agent_module.php @@ -256,6 +256,10 @@ class AgentModuleWidget extends Widget 1 => __('Show module data'), ]; + if (empty($this->values['mModules']) === true && empty($this->values['mTypeShow'])) { + $this->values['mTypeShow'] = 1; + } + $inputs[] = [ 'class' => 'flex flex-row', 'label' => __('Information to be shown'),