Skip to content

Commit

Permalink
5.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Rello committed Jan 3, 2025
1 parent d502f80 commit 76f2457
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Changelog

## 5.2.1 - 2025-01-03
### Added
- GitHub: report on release assets

### FIXED
### Fixed
- handling of report options
- import data from file
- fix links from integrations to reports
Expand Down
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Visualize and share anything, from financial analysis to IoT logs.
- **AI Assistant**: Context Chat integration
]]></description>
<version>5.2.0</version>
<version>5.2.1</version>
<licence>agpl</licence>
<author>Marcel Scherello</author>
<namespace>Analytics</namespace>
Expand Down
4 changes: 2 additions & 2 deletions lib/Controller/DatasourceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,10 @@ private function aggregateData($data, $filter) {
if (!isset($aggregatedData[$key])) {
$aggregatedData[$key] = 0;
}
$this->logger->info("Aggregating data for index $aggregatedData[$key]");
//$this->logger->info("Aggregating data for index $aggregatedData[$key]");
$aggregatedData[$key] += $value;
}
$this->logger->info(json_encode($aggregatedData));
//$this->logger->info(json_encode($aggregatedData));

// Convert the associative array to the desired format
$result = [];
Expand Down
2 changes: 0 additions & 2 deletions lib/Datasource/LocalSpreadsheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,7 @@ private function convertExcelDate($spreadsheet, $values, $range): array {
if ($cell->isInMergeRange()) {
// Overwrite the cell with the top-left cell of the merged range
$mergedRange = $cell->getMergeRange();
$this->logger->info('$mergedRange: ' . $mergedRange);
[$startCell] = explode(':', $mergedRange);
$this->logger->info('$startCell: ' . $startCell);
$cell = $spreadsheet->getActiveSheet()->getCell($startCell);
$values[$rowIndex][$columnIndex] = $cell->getValue();
}
Expand Down

0 comments on commit 76f2457

Please sign in to comment.