Skip to content

Commit

Permalink
Merge pull request #1733 from swaterkamp/RepoContCompSimpleFilter
Browse files Browse the repository at this point in the history
Don't simplify filter in report content composer
  • Loading branch information
swaterkamp authored Nov 4, 2019
2 parents ad2fd22 + fd1beb7 commit 270d426
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
[#1507](https://github.com/greenbone/gsa/pull/1507)

### Changed
- Do not simplify filterString in content composer for report download [#1733](https://github.com/greenbone/gsa/pull/1733)
- Use single component for reloading data [#1722](https://github.com/greenbone/gsa/pull/1722)
- Use last chars of a label string in BarChart [#1713](https://github.com/greenbone/gsa/pull/1713)
- Next Scheduled Tasks displays timezone [#1712](https://github.com/greenbone/gsa/pull/1712)
Expand Down
4 changes: 1 addition & 3 deletions gsa/src/web/pages/reports/downloadreportdialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ const DownloadReportDialog = ({
onClose,
onSave,
}) => {
const filterString = isString(filter)
? filter
: filter.simple().toFilterString();
const filterString = isString(filter) ? filter : filter.toFilterString();

reportFormatId = selectSaveId(reportFormats, defaultReportFormatId);

Expand Down

0 comments on commit 270d426

Please sign in to comment.