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-08 21:49:12 +0300
committerdiosmosis <benaka@piwik.pro>2014-11-08 21:49:12 +0300
commit0fc2f8f10ec054f648c6d5d1122cc77c008ec3bf (patch)
tree7ff9c1001a4ad5170827e7bb47a4188195273c21 /plugins/API
parent43ed4c23161083f8c57fdda09cdf398d07567cdf (diff)
Fixing tests and code.
Diffstat (limited to 'plugins/API')
-rw-r--r--plugins/API/ProcessedReport.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/API/ProcessedReport.php b/plugins/API/ProcessedReport.php
index 2b72e07849..61c34c3378 100644
--- a/plugins/API/ProcessedReport.php
+++ b/plugins/API/ProcessedReport.php
@@ -390,7 +390,8 @@ class ProcessedReport
'format' => 'original',
'serialize' => '0',
'language' => $language,
- 'idSubtable' => $idSubtable
+ 'idSubtable' => $idSubtable,
+ 'force_format_processed_metrics' => 1,
));
if (!empty($segment)) $parameters['segment'] = $segment;
@@ -411,8 +412,6 @@ class ProcessedReport
throw new Exception("API returned an error: " . $e->getMessage() . " at " . basename($e->getFile()) . ":" . $e->getLine() . "\n");
}
- $dataTable->filter(array(Report::factory($apiModule, $apiAction), 'formatProcessedMetrics'));
-
list($newReport, $columns, $rowsMetadata, $totals) = $this->handleTableReport($idSite, $dataTable, $reportMetadata, $showRawMetrics);
foreach ($columns as &$name) {