10012 added graph in log report by period

This commit is contained in:
Daniel Cebrian 2023-05-30 12:18:48 +02:00
parent e44fee7d3a
commit fe9054cf2c
2 changed files with 8 additions and 0 deletions

View File

@ -332,6 +332,8 @@ switch ($action) {
$search = $es['search'];
$log_number = empty($es['log_number']) ? $log_number : $es['log_number'];
$full_text = empty($es['full_text']) ? 0 : $es['full_text'];
$show_graph = $item['show_graph'];
$group_by_agent = $item['group_by_agent'];
break;
case 'simple_graph':
@ -6615,6 +6617,8 @@ function chooseType() {
$("#agents_row").show();
$("#row_source").show();
$("#row_historical_db_check").hide();
$("#row_show_graph").show();
$("#row_group_by_agent").show();
loadLogAgents();

View File

@ -1629,6 +1629,8 @@ switch ($action) {
$values['external_source'] = json_encode($es);
$values['period'] = get_parameter('period');
$values['period_range'] = get_parameter('period_range');
$values['show_graph'] = get_parameter('combo_graph_options');
$values['group_by_agent'] = get_parameter('checkbox_row_group_by_agent');
$good_format = true;
break;
@ -2607,6 +2609,8 @@ switch ($action) {
$values['external_source'] = json_encode($es);
$values['period'] = get_parameter('period');
$values['period_range'] = get_parameter('period_range');
$values['show_graph'] = get_parameter('combo_graph_options');
$values['group_by_agent'] = get_parameter('checkbox_row_group_by_agent');
$good_format = true;
break;