File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
source/views/sis/course-search/lib Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ export async function buildFilters(): Promise<FilterType[]> {
1818
1919 const allGEs = ges . map ( ge => ( { title : ge } ) )
2020 const allDepartments = departments . map ( dep => ( { title : dep } ) )
21+ const courseLevelOptions = [ { title : 100 } , { title : 200 } , { title : 300 } ]
2122
2223 return [
2324 {
@@ -80,6 +81,22 @@ export async function buildFilters(): Promise<FilterType[]> {
8081 key : 'departments' ,
8182 } ,
8283 } ,
84+ {
85+ type : 'list' ,
86+ key : 'level' ,
87+ enabled : false ,
88+ spec : {
89+ title : 'Level' ,
90+ showImages : false ,
91+ options : courseLevelOptions ,
92+ mode : 'OR' ,
93+ selected : courseLevelOptions ,
94+ displayTitle : true ,
95+ } ,
96+ apply : {
97+ key : 'level' ,
98+ } ,
99+ } ,
83100 {
84101 type : 'toggle' ,
85102 key : 'status' ,
You can’t perform that action at this time.
0 commit comments