Skip to content

Commit

Permalink
Rules table | Change filter dropdown option to multiselect … (opensea…
Browse files Browse the repository at this point in the history
…rch-project#146)

* [FEATURE] Rules table | Change filter dropdown option to multiselect with OR condition opensearch-project#127

Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com>

* Adjusted OSD version used by test workflows. (opensearch-project#149)

* Adjusted OSD version used by test workflows.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Fixed env variable call.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Revised comment to include github issue link.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* [FEATURE] Rules table | Change filter dropdown option to multiselect with OR condition opensearch-project#127

Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com>

Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com>
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
Co-authored-by: AWSHurneyt <hurneyt@amazon.com>
  • Loading branch information
jovancacvetkovic and AWSHurneyt committed Nov 23, 2022
1 parent d7af690 commit 7b541ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/pages/Rules/utils/helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const getRulesTableSearchConfig = (): Search => {
type: 'field_value_selection',
field: 'category',
name: 'Rule Type',
multiSelect: false,
multiSelect: 'or',
options: ruleTypes.map((type: string) => ({
value: type,
})),
Expand All @@ -91,14 +91,14 @@ export const getRulesTableSearchConfig = (): Search => {
type: 'field_value_selection',
field: 'level',
name: 'Rule Severity',
multiSelect: false,
multiSelect: 'or',
options: ruleSeverity,
},
{
type: 'field_value_selection',
field: 'source',
name: 'Source',
multiSelect: false,
multiSelect: 'or',
options: ruleSource.map((source: string) => ({
value: source,
})),
Expand Down

0 comments on commit 7b541ab

Please sign in to comment.