10012 added graph in log report by period
This commit is contained in:
parent
e44fee7d3a
commit
fe9054cf2c
|
@ -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();
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue