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:
authordiosmosis <benaka@piwik.pro>2014-11-26 00:16:38 +0300
committerdiosmosis <benaka@piwik.pro>2014-11-26 00:16:38 +0300
commitf8f9562cb0982ca73cce1976f88621529b4326bd (patch)
tree8cfb093e440ed026e8dcdcd0662e18e28a4220f7 /core/Plugin/Report.php
parent5fa73701a629b3ecd02cc50c9de3ff30e41cfb79 (diff)
Fixing most system tests.
Diffstat (limited to 'core/Plugin/Report.php')
-rw-r--r--core/Plugin/Report.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/Plugin/Report.php b/core/Plugin/Report.php
index d2b4aed8df..c5c50bb459 100644
--- a/core/Plugin/Report.php
+++ b/core/Plugin/Report.php
@@ -368,7 +368,8 @@ class Report
*
* This method should be used in **Plugin.get** API methods.
*
- * @param string[]|null $allMetrics The list of all available metrics. Defaults to this report's metrics.
+ * @param string[]|null $allMetrics The list of all available unprocessed metrics. Defaults to this report's
+ * metrics.
* @param string[]|null $restrictToColumns The requested columns.
* @return string[]
*/
@@ -379,7 +380,7 @@ class Report
}
if (empty($restrictToColumns)) {
- $restrictToColumns = $this->getAllMetrics();
+ $restrictToColumns = array_merge($allMetrics, array_keys($this->getProcessedMetrics()));
}
$processedMetricsById = $this->getProcessedMetricsById();