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:
Diffstat (limited to 'plugins/Goals/Pages.php')
-rw-r--r--plugins/Goals/Pages.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/Goals/Pages.php b/plugins/Goals/Pages.php
index 9ab7a96d66..571a5f75cd 100644
--- a/plugins/Goals/Pages.php
+++ b/plugins/Goals/Pages.php
@@ -292,8 +292,14 @@ class Pages
$report['viewDataTable'] = 'tableGoals';
}
+ if (!empty($report['parameters'])) {
+ $params = array_merge($customParams, $report['parameters']);
+ } else {
+ $params = $customParams;
+ }
+
$widget = $this->createWidgetForReport($report['module'], $report['action']);
- $widget->setParameters($customParams);
+ $widget->setParameters($params);
$widget->setCategoryId($categoryText);
$widget->setSubcategoryId($categoryText);
$widget->setOrder($order);