Filtering fields did not effect chart generation, this has been fixed now.

Filtering fields will now be added into the columns list of the logstream source
when generating charts.
This commit is contained in:
Andre Lorbach 2011-02-09 18:12:17 +01:00
parent fed24ca3e9
commit 453b418439

View File

@ -147,7 +147,7 @@ if ( !$content['error_occured'] )
if ( $aFilterFields != null )
$content['ChartColumns'] = $aFilterFields;
// append mandetory fields
// Append mandetory fields
if ( !in_array(SYSLOG_UID, $content['ChartColumns']) )
$content['ChartColumns'][] = SYSLOG_UID;
if ( !in_array($content['chart_field'], $content['ChartColumns']) )