@@ -17,9 +17,9 @@ import { useFetchAdvisories } from "@app/queries/advisories";
17
17
interface IAdvisorySearchContext {
18
18
tableControls : ITableControls <
19
19
AdvisorySummary ,
20
- "identifier" | "title" | "severity" | "revision " | "vulnerabilities" ,
21
- "identifier" | "severity" ,
22
- "" | "average_severity" | "revision " ,
20
+ "identifier" | "title" | "severity" | "modified " | "vulnerabilities" ,
21
+ "identifier" | "severity" | "modified" ,
22
+ "" | "average_severity" | "modified " ,
23
23
string
24
24
> ;
25
25
@@ -47,12 +47,12 @@ export const AdvisorySearchProvider: React.FunctionComponent<
47
47
identifier : "ID" ,
48
48
title : "Title" ,
49
49
severity : "Aggregated Severity" ,
50
- revision : "Revision" ,
50
+ modified : "Revision" ,
51
51
vulnerabilities : "Vulnerabilities" ,
52
52
} ,
53
53
isPaginationEnabled : true ,
54
54
isSortEnabled : true ,
55
- sortableColumns : [ "identifier" , "severity" ] ,
55
+ sortableColumns : [ "identifier" , "severity" , "modified" ] ,
56
56
isFilterEnabled : true ,
57
57
filterCategories : [
58
58
{
@@ -75,7 +75,7 @@ export const AdvisorySearchProvider: React.FunctionComponent<
75
75
] ,
76
76
} ,
77
77
{
78
- categoryKey : "revision " ,
78
+ categoryKey : "modified " ,
79
79
title : "Revision" ,
80
80
type : FilterType . dateRange ,
81
81
} ,
@@ -93,6 +93,7 @@ export const AdvisorySearchProvider: React.FunctionComponent<
93
93
hubSortFieldKeys : {
94
94
identifier : "identifier" ,
95
95
severity : "average_score" ,
96
+ modified : "modified" ,
96
97
} ,
97
98
} )
98
99
) ;
0 commit comments