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:
authorThomas Steur <thomas.steur@googlemail.com>2014-03-06 00:12:14 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-03-06 00:12:14 +0400
commit4bb969cea4d446c230f46a41905f8a6fff4765f7 (patch)
tree7360234b180b8e788cee769ea93cdc8401a65fa0 /plugins/Insights/Visualizations
parentfe39dc20f4e0a5712a17111386d6d7d18500ad48 (diff)
refs #57 added more tests and some bugfixes
Diffstat (limited to 'plugins/Insights/Visualizations')
-rw-r--r--plugins/Insights/Visualizations/Insight.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/Insights/Visualizations/Insight.php b/plugins/Insights/Visualizations/Insight.php
index 3f67f51a57..24d4ebd244 100644
--- a/plugins/Insights/Visualizations/Insight.php
+++ b/plugins/Insights/Visualizations/Insight.php
@@ -79,14 +79,11 @@ class Insight extends Visualization
return true;
}
- public function afterAllFiltersAreApplied()
+ public function beforeRender()
{
$this->assignTemplateVar('period', Common::getRequestVar('period', null, 'string'));
- }
- public function beforeRender()
- {
- $this->config->datatable_js_type = 'InsightsDataTable';
+ $this->config->datatable_js_type = 'InsightsDataTable';
$this->config->show_limit_control = true;
$this->config->show_pagination_control = false;
$this->config->show_offset_information = false;