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
path: root/core
diff options
context:
space:
mode:
authorDaniel Ziegenberg <daniel@ziegenberg.at>2021-07-20 14:38:30 +0300
committerGitHub <noreply@github.com>2021-07-20 14:38:30 +0300
commit4d21dd28e56f545fcbaa3c0a306f06ab0302f8e5 (patch)
treec88672028120fdc44115daf0d641db6516c973c4 /core
parent78387db99ce0e0fe6d7226fd8cb40a5458c4353a (diff)
Fix exporting main metrics with a period of weeks and export format CSV (#17442)
* Fix exporting main metrics with a period of weeks and export format CSV * add regression unit tests for exporting main metrics with a period of weeks and export format CSV Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
Diffstat (limited to 'core')
-rw-r--r--core/DataTable/Renderer/Csv.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/DataTable/Renderer/Csv.php b/core/DataTable/Renderer/Csv.php
index 1ca7083541..aae748c167 100644
--- a/core/DataTable/Renderer/Csv.php
+++ b/core/DataTable/Renderer/Csv.php
@@ -151,7 +151,7 @@ class Csv extends Renderer
// when in xml we would output <result date="2008-01-15" />
if (!empty($returned)) {
foreach ($returned as &$row) {
- $row = $currentLinePrefix . $this->separator . $row;
+ $row = $this->formatValue($currentLinePrefix) . $this->separator . $row;
}
$str .= "\n" . implode("\n", $returned);
}