diff options
Diffstat (limited to 'plugins/CoreVisualizations')
-rw-r--r-- | plugins/CoreVisualizations/Widgets/SingleMetricView.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreVisualizations/Widgets/SingleMetricView.php b/plugins/CoreVisualizations/Widgets/SingleMetricView.php index b9ea39840e..4cc2f5eb7e 100644 --- a/plugins/CoreVisualizations/Widgets/SingleMetricView.php +++ b/plugins/CoreVisualizations/Widgets/SingleMetricView.php @@ -64,7 +64,7 @@ class SingleMetricView extends \Piwik\Widget\Widget ); $metricDocumentations = array_merge($metricDocumentations, $reportMetadata['metricsDocumentation']); - $goals = GoalsAPI::getInstance()->getGoals($idSite); + $goals = Request::processRequest('Goals.getGoals', ['idSite' => $idSite, 'filter_limit' => '-1'], $default = []); } $view = new View("@CoreHome/_angularComponent.twig"); |