Skip to content

Commit

Permalink
Set sort-reverse=severity as fallbackFilter for Results
Browse files Browse the repository at this point in the history
Basically meant as a PoC and example.
  • Loading branch information
swaterkamp committed Sep 17, 2019
1 parent 700fbc3 commit d2e875f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gsa/src/web/pages/results/listpage.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,12 @@ Page.propTypes = {
onInteraction: PropTypes.func.isRequired,
};

const fallbackFilter = 'sort-reverse=severity';

export default withEntitiesContainer('result', {
entitiesSelector,
loadEntities,
fallbackFilter,
})(Page);

// export default ResultsPage;
Expand Down

0 comments on commit d2e875f

Please sign in to comment.