From f8dfb088014f9cdc77823483613d3684f311ce49 Mon Sep 17 00:00:00 2001 From: Steffen Waterkamp Date: Mon, 4 Nov 2019 11:07:35 +0100 Subject: [PATCH 1/2] Do not simplify filterString in ReportDownload content composer --- gsa/src/web/pages/reports/downloadreportdialog.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gsa/src/web/pages/reports/downloadreportdialog.js b/gsa/src/web/pages/reports/downloadreportdialog.js index a10625140f..880895466f 100644 --- a/gsa/src/web/pages/reports/downloadreportdialog.js +++ b/gsa/src/web/pages/reports/downloadreportdialog.js @@ -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); From fd1beb756a782c2e347c56479ddb46590ad17f02 Mon Sep 17 00:00:00 2001 From: Steffen Waterkamp Date: Mon, 4 Nov 2019 11:11:00 +0100 Subject: [PATCH 2/2] Update Changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09339f7548..edb963a52b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)