diff options
author | diosmosis <benaka@piwik.pro> | 2014-11-12 06:17:59 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2014-11-12 06:17:59 +0300 |
commit | 368be0a983ac669220baee2126f91e569a6add00 (patch) | |
tree | 3c7a7e60333a2dab4e2919c723cc9be8cff39869 /core/DataTable | |
parent | da98a5caa4ae9edc4234b931b0ffb72d89a4d790 (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-x | core/DataTable/Filter/GroupBy.php | 2 |
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(); |