Skip to content

Commit

Permalink
Use unformatted totals for calculation of processed report totals
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Jan 14, 2025
1 parent 42e4e31 commit 19a275e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/API/ProcessedReport.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 19a275e

Please sign in to comment.