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:
authordiosmosis <benaka@piwik.pro>2014-11-12 06:17:59 +0300
committerdiosmosis <benaka@piwik.pro>2014-11-12 06:17:59 +0300
commit368be0a983ac669220baee2126f91e569a6add00 (patch)
tree3c7a7e60333a2dab4e2919c723cc9be8cff39869 /core/DataTable
parentda98a5caa4ae9edc4234b931b0ffb72d89a4d790 (diff)
Refs #6101, fix sumRowArray error caused by Provider change (GroupBy must be called as ->filter not ->queueFilter since it changes DataTable structure).
Diffstat (limited to 'core/DataTable')
-rwxr-xr-xcore/DataTable/Filter/GroupBy.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/DataTable/Filter/GroupBy.php b/core/DataTable/Filter/GroupBy.php
index 9391ccd95f..2ac79a6de9 100755
--- a/core/DataTable/Filter/GroupBy.php
+++ b/core/DataTable/Filter/GroupBy.php
@@ -10,6 +10,7 @@ namespace Piwik\DataTable\Filter;
use Piwik\DataTable;
use Piwik\DataTable\BaseFilter;
+use Piwik\DataTable\Row;
/**
* DataTable filter that will group {@link DataTable} rows together based on the results
@@ -71,6 +72,7 @@ class GroupBy extends BaseFilter
*/
public function filter($table)
{
+ /** @var Row[] $groupByRows */
$groupByRows = array();
$nonGroupByRowIds = array();