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:
authorsgiehl <stefan@piwik.org>2016-03-21 12:44:40 +0300
committersgiehl <stefan@piwik.org>2016-03-21 12:44:40 +0300
commit5b10dcd6a7f40cb3f579f1ded6b931aefe64113c (patch)
treefac33c8fd50b030f2cfe018dab8969754bddaead
parent8d665858021c853bd00fd14572a9b8ee83b89e45 (diff)
Always disable pivot for all columns table as it unsupported
-rw-r--r--plugins/CoreVisualizations/Visualizations/HtmlTable/AllColumns.php10
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
+ }
}