Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Events/Archiver.php')
-rw-r--r--plugins/Events/Archiver.php5
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,