diff options
author | diosmosis <benaka@piwik.pro> | 2014-11-14 10:00:19 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2014-11-14 10:00:19 +0300 |
commit | 36fe136b520716cbc1fbc5f4f56cf8d70d079e46 (patch) | |
tree | a4aa4c15360ede4956649be4f42178e0f0b37a9b /core/Plugin/Visualization.php | |
parent | 05c4b313cf29bec72bb6cd8ed10142b84b39a4c6 (diff) |
Fix PivotByDimension UI test failure.
Diffstat (limited to 'core/Plugin/Visualization.php')
-rw-r--r-- | core/Plugin/Visualization.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Plugin/Visualization.php b/core/Plugin/Visualization.php index 5674b189c9..c82812b9f7 100644 --- a/core/Plugin/Visualization.php +++ b/core/Plugin/Visualization.php @@ -335,8 +335,6 @@ class Visualization extends ViewDataTable private function applyFilters() { - $postProcessor = $this->makeDataTablePostProcessor(); - list($priorityFilters, $otherFilters) = $this->config->getFiltersToRun(); // First, filters that delete rows @@ -351,6 +349,8 @@ class Visualization extends ViewDataTable $this->requestConfig->setDefaultSort($this->config->columns_to_display, $hasNbUniqVisitors, $this->dataTable->getColumns()); } + $postProcessor = $this->makeDataTablePostProcessor(); // must be created after requestConfig is final + if (!$this->requestConfig->areGenericFiltersDisabled()) { $this->dataTable = $postProcessor->applyGenericFilters($this->dataTable); } |