Skip to content

Commit

Permalink
Merge pull request #2358 from saberlynx/result-filter
Browse files Browse the repository at this point in the history
Do not use result filter from store on report detailspage
  • Loading branch information
bjoernricks authored Aug 4, 2020
2 parents b168715 + 7957194 commit cd2c503
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 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/).
- Added handling of queued task status [#2208](https://github.com/greenbone/gsa/pull/2208)

### Changed
- Do not use result filter from store on report detailspage by default [#2358](https://github.com/greenbone/gsa/pull/2358)
- Improve performance of form fields in edit scan config dialog [#2354](https://github.com/greenbone/gsa/pull/2354)
- Default to sorting nvts by "Created", newest first [#2352](https://github.com/greenbone/gsa/pull/2352)
- Disable EditIcons for data objects from feed [#2346](https://github.com/greenbone/gsa/pull/2346)
Expand Down
10 changes: 1 addition & 9 deletions gsa/src/web/pages/reports/detailspage.js
Original file line number Diff line number Diff line change
Expand Up @@ -714,11 +714,6 @@ const load = ({
filter = reportFilter;
}

if (!hasValue(filter)) {
// use filter from user setting
filter = defaultFilter;
}

if (!hasValue(filter)) {
// use fallback filter
filter = DEFAULT_FILTER;
Expand Down Expand Up @@ -822,10 +817,7 @@ export default compose(
withGmp,
withDialogNotification,
withDownload,
connect(
mapStateToProps,
mapDispatchToProps,
),
connect(mapStateToProps, mapDispatchToProps),
)(ReportDetailsWrapper);

// vim: set ts=2 sw=2 tw=80:

0 comments on commit cd2c503

Please sign in to comment.