Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix usage of ReportFormat for generateFilename() when downloading rep… #2021

Merged
merged 2 commits into from
Mar 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Lower memory usage when getting a report [#1857](https://github.com/greenbone/gvmd/pull/1857)

### Fixed
- Fixed usage of report format %F in generateFilename() [#2021](https://github.com/greenbone/gsa/pull/2021)
- Fixed report DetailsContent counts in tabs [#2004](https://github.com/greenbone/gsa/pull/2004)
- Fixed auto_delete_value of 0 for tasks and audits [#1987](https://github.com/greenbone/gsa/pull/1987)
- Fixed bulk tagging by user selection (send IDs as array) [#1985](https://github.com/greenbone/gsa/pull/1985)
Expand Down
2 changes: 1 addition & 1 deletion gsa/src/web/pages/reports/deltadetailspage.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ class DeltaReportDetails extends React.Component {
fileNameFormat: reportExportFileName,
id: entity.id,
modificationTime: entity.modificationTime,
reportFormat: report_format,
reportFormat: report_format.name,
resourceName: entity.task.name,
resourceType: 'report',
username,
Expand Down
2 changes: 1 addition & 1 deletion gsa/src/web/pages/reports/detailspage.js
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ class ReportDetails extends React.Component {
fileNameFormat: reportExportFileName,
id: entity.id,
modificationTime: entity.modificationTime,
reportFormat: report_format,
reportFormat: report_format.name,
resourceName: entity.task.name,
resourceType: 'report',
username,
Expand Down