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:
authorMatthieu Aubry <mattab@users.noreply.github.com>2017-09-27 22:23:16 +0300
committerStefan Giehl <stefan@piwik.org>2017-09-27 22:23:16 +0300
commit52e9403a82235203c5ee2a49c93d23f99ef46254 (patch)
tree8910e3c97fc8fad3e05866c220424d96af095172 /plugins
parent9611b36d22bcdaa3b46993a2e759012ce2a6a0ae (diff)
Glossary: make sure to return all metrics and reports (#12110)
Add filter_limit=-1 to Request::processRequest calls
Diffstat (limited to 'plugins')
-rw-r--r--plugins/API/Controller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/API/Controller.php b/plugins/API/Controller.php
index 416cc728de..9801005795 100644
--- a/plugins/API/Controller.php
+++ b/plugins/API/Controller.php
@@ -153,8 +153,8 @@ class Controller extends \Piwik\Plugin\Controller
Piwik::checkUserHasSomeViewAccess();
return $this->renderTemplate('glossary', array(
- 'reports' => Request::processRequest('API', array('method' => 'API.getGlossaryReports')),
- 'metrics' => Request::processRequest('API', array('method' => 'API.getGlossaryMetrics')),
+ 'reports' => Request::processRequest('API', array('method' => 'API.getGlossaryReports', 'filter_limit' => -1)),
+ 'metrics' => Request::processRequest('API', array('method' => 'API.getGlossaryMetrics', 'filter_limit' => -1)),
));
}
}