diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-03-18 07:20:08 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2015-03-18 07:20:08 +0300 |
commit | d532912e01eca79fa94df09578e59a94fb7c6511 (patch) | |
tree | 03662b9e901eeaa9c576af67dcf30395b5034c43 /plugins/Events | |
parent | 892eef9497a38e960a3a258bd23562f521b00115 (diff) |
fix a couple of bugs and actually only count the recursive rows count if needed
Diffstat (limited to 'plugins/Events')
-rw-r--r-- | plugins/Events/Archiver.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/Events/Archiver.php b/plugins/Events/Archiver.php index 256c49491e..c928ec318e 100644 --- a/plugins/Events/Archiver.php +++ b/plugins/Events/Archiver.php @@ -98,14 +98,16 @@ class Archiver extends \Piwik\Plugin\Archiver public function aggregateMultipleReports() { $dataTableToSum = $this->getRecordNames(); + $columnsAggregationOperation = null; + $this->getProcessor()->aggregateDataTableRecords( $dataTableToSum, $this->maximumRowsInDataTable, $this->maximumRowsInSubDataTable, $this->columnToSortByBeforeTruncation, - $columnsAggregationOperation = null, + $columnsAggregationOperation, $columnsToRenameAfterAggregation = null, - $countRowsRecursive = false); + $countRowsRecursive = array()); } protected function getRecordNames() |