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-06-18 09:13:42 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-06-18 09:14:14 +0400
commit79ec9d19368dbe49b4dbb34bb4762784962b3652 (patch)
tree0a2e6d648bd9767cb0c458ca4cc6f3f9adb3c503 /core/ViewDataTable
parentc6f7e78c537921bda68b51c993ada8a220f896c1 (diff)
this is epic... by rendering the reports this way we can remove a lot of duplicated, unneeded code while having backwards compatible urls, developers are still able to completely overwrite the reports controller action, we fix some issues where CoreHome.renderWidget was reported in dispatch events instead of the actual module/action -> fixes also some security issues and most saved params for reports work again. Hope it works as expected
Diffstat (limited to 'core/ViewDataTable')
-rw-r--r--core/ViewDataTable/Factory.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/ViewDataTable/Factory.php b/core/ViewDataTable/Factory.php
index aa42c9de68..afd093c4cb 100644
--- a/core/ViewDataTable/Factory.php
+++ b/core/ViewDataTable/Factory.php
@@ -107,8 +107,7 @@ class Factory
$params = array();
} else {
$login = Piwik::getCurrentUserLogin();
- // TODO this won't work as currently all reports use CoreHome.renderMenuReport
- $params = Manager::getViewDataTableParameters($login, $controllerAction);
+ $params = Manager::getViewDataTableParameters($login, $apiAction);
}
$savedViewDataTable = false;