diff options
author | sgiehl <stefan@piwik.org> | 2016-03-21 12:44:40 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2016-03-21 12:44:40 +0300 |
commit | 5b10dcd6a7f40cb3f579f1ded6b931aefe64113c (patch) | |
tree | fac33c8fd50b030f2cfe018dab8969754bddaead /plugins | |
parent | 8d665858021c853bd00fd14572a9b8ee83b89e45 (diff) |
Always disable pivot for all columns table as it unsupported
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/CoreVisualizations/Visualizations/HtmlTable/AllColumns.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/CoreVisualizations/Visualizations/HtmlTable/AllColumns.php b/plugins/CoreVisualizations/Visualizations/HtmlTable/AllColumns.php index 5acf9b50be..959aa0d57b 100644 --- a/plugins/CoreVisualizations/Visualizations/HtmlTable/AllColumns.php +++ b/plugins/CoreVisualizations/Visualizations/HtmlTable/AllColumns.php @@ -64,4 +64,14 @@ class AllColumns extends HtmlTable $properties->columns_to_display = $columnsToDisplay; }); } + + public function beforeLoadDataTable() + { + $this->requestConfig->request_parameters_to_modify['pivotBy'] = null; // always unset pivotBy + } + + protected function isPivoted() + { + return false; // Pivot not supported + } } |