You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* applied filters into the search function using flags in the model, will have to refine more in the filters, but this is great for the demo
* wrote departments filter option
* added check to make sure to not recommend courses the client has taken before
* initial state good
* departments go to model
* trying to add filtering out courses with NULL fields as an implementable filter option, merging with main start as per teams request
* merging into brain?
---------
Co-authored-by: kexana <deotsts@gmail.com>
Copy file name to clipboardExpand all lines: my-app/src/model.js
+15-6Lines changed: 15 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -18,16 +18,20 @@ export const model = {
18
18
applyTranscriptFilter: true,
19
19
eligibility: "weak",//the possible values for the string are: "weak"/"moderate"/"strong"
20
20
applyLevelFilter: true,
21
-
level: [],//the possible values for the array are: "PREPARATORY", "BASIC", "ADVANCED", "RESEARCH"
21
+
level: ["PREPARATORY","BASIC","ADVANCED","RESEARCH"],//the possible values for the array are: "PREPARATORY", "BASIC", "ADVANCED", "RESEARCH"
22
22
applyLanguageFilter: true,
23
23
language: "none",//the possible values for the string are: "none"/"english"/"swedish"/"both"
24
24
applyLocationFilter:true,
25
25
location: [],//the possible values for the array are: 'KTH Campus', 'KTH Kista', 'AlbaNova', 'KTH Flemingsberg', 'KTH Solna', 'KTH Södertälje', 'Handelshögskolan', 'KI Solna', 'Stockholms universitet', 'KONSTFACK'
26
26
applyCreditsFilter:true,
27
27
creditMin: 0,
28
28
creditMax: 45,
29
-
applyDepartmentFilter:false,
30
-
department: []
29
+
applyDepartmentFilter: true,
30
+
department: ["EECS/Computational Science and Technology","EECS/Theoretical Computer Science","EECS/Electric Power and Energy Systems","EECS/Network and Systems Engineering",
31
+
"ITM/Learning in Engineering Sciences","ITM/Industrial Economics and Management","ITM/Energy Systems","ITM/Integrated Product Development and Design","ITM/SKD GRU",
32
+
"SCI/Mathematics","SCI/Applied Physics","SCI/Mechanics","SCI/Aeronautical and Vehicle Engineering",
33
+
"ABE/Sustainability and Environmental Engineering","ABE/Concrete Structures","ABE/Structural Design & Bridges","ABE/History of Science, Technology and Environment",],
0 commit comments