diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2015-03-09 06:41:34 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2015-03-09 06:41:34 +0300 |
commit | efef7e0406a2011e671cbc8dee6714fc76562784 (patch) | |
tree | e6f703fc527e0c7a27d6dd83a3ff527e30319a82 /plugins/CoreVisualizations | |
parent | d21fcf2e168afa8b25783e0506fa7a5401eb2849 (diff) |
added a comment in case it is not clear why we remove one of the two htmlTables
Diffstat (limited to 'plugins/CoreVisualizations')
-rw-r--r-- | plugins/CoreVisualizations/CoreVisualizations.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/CoreVisualizations/CoreVisualizations.php b/plugins/CoreVisualizations/CoreVisualizations.php index 97311475ac..da8fbe9f94 100644 --- a/plugins/CoreVisualizations/CoreVisualizations.php +++ b/plugins/CoreVisualizations/CoreVisualizations.php @@ -41,6 +41,8 @@ class CoreVisualizations extends \Piwik\Plugin public function addViewDataTable(&$viewDataTable) { + // Both are the same HtmlTable, just the Pivot one has some extra logic in case Pivot is used. + // We don't want to use the same HtmlTable twice in the UI. Therefore we always need to remove one. if (Common::getRequestVar('pivotBy', '')) { $tableToRemove = 'Visualizations\HtmlTable'; } else { |