diff options
Diffstat (limited to 'plugins/Events/Archiver.php')
-rw-r--r-- | plugins/Events/Archiver.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/Events/Archiver.php b/plugins/Events/Archiver.php index c928ec318e..76e4c3e677 100644 --- a/plugins/Events/Archiver.php +++ b/plugins/Events/Archiver.php @@ -98,7 +98,10 @@ class Archiver extends \Piwik\Plugin\Archiver public function aggregateMultipleReports() { $dataTableToSum = $this->getRecordNames(); - $columnsAggregationOperation = null; + $columnsAggregationOperation = array( + Metrics::INDEX_EVENT_MIN_EVENT_VALUE => 'min', + Metrics::INDEX_EVENT_MAX_EVENT_VALUE => 'max', + ); $this->getProcessor()->aggregateDataTableRecords( $dataTableToSum, |