From 19a275e43ec03910658cf362290dffe26b008fd2 Mon Sep 17 00:00:00 2001 From: sgiehl Date: Tue, 14 Jan 2025 16:05:54 +0100 Subject: [PATCH] Use unformatted totals for calculation of processed report totals --- plugins/API/ProcessedReport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/API/ProcessedReport.php b/plugins/API/ProcessedReport.php index 2096601979e..8cca03c89a8 100644 --- a/plugins/API/ProcessedReport.php +++ b/plugins/API/ProcessedReport.php @@ -779,7 +779,7 @@ private function handleSimpleDataTable($idSite, $simpleDataTable, $metadataColum private function aggregateReportTotalValues($simpleDataTable, $metadateColumns, $totals) { - $metadataTotals = $simpleDataTable->getTotalsRow(); + $metadataTotals = $simpleDataTable->getMetadata('totalsUnformatted'); if (empty($metadataTotals)) { return $totals;