Skip to content

Commit

Permalink
Merge pull request #29 from sparcs-kaist/chore@fix-search-filter
Browse files Browse the repository at this point in the history
Fix search filter department code (기경, 반시공, 뇌인지)
  • Loading branch information
sboh1214 authored Sep 24, 2023
2 parents c730a77 + 57f773f commit 1a0e977
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/common/searchOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const getDepartmentOptions = () =>
['ALL', i18n.t('ui.department.allShort'), 100],
['HSS', i18n.t('ui.department.hssShort'), 200],
['CE', i18n.t('ui.department.ceShort'), 500],
['MSB', i18n.t('ui.department.msbShort'), 500],
['BTM', i18n.t('ui.department.btmShort'), 500],
['ME', i18n.t('ui.department.meShort'), 500],
['PH', i18n.t('ui.department.phShort'), 500],
['BiS', i18n.t('ui.department.bisShort'), 500],
Expand All @@ -35,6 +35,8 @@ export const getDepartmentOptions = () =>
['CBE', i18n.t('ui.department.cbeShort'), 500],
['MS', i18n.t('ui.department.msShort'), 500],
['TS', i18n.t('ui.department.tsShort'), 500],
['SS', i18n.t('ui.department.ssShort'), 500],
['BCE', i18n.t('ui.department.bceShort'), 500],
['ETC', i18n.t('ui.department.etcShort'), 900],
]
.sort((a, b) => {
Expand Down
4 changes: 3 additions & 1 deletion src/translations/translation.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,12 @@
"masShort": "MAS",
"meShort": "ME",
"nqeShort": "NQE",
"msbShort": "MSB",
"btmShort": "BTM",
"msShort": "MS",
"phShort": "PH",
"tsShort": "TS",
"ssShort": "SS",
"bceShort": "BCE",
"allShort": "ALL",
"etcShort": "ETC"
},
Expand Down
4 changes: 3 additions & 1 deletion src/translations/translation.ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,12 @@
"masShort": "수리",
"meShort": "기계",
"nqeShort": "원양",
"msbShort": "기경",
"btmShort": "기경",
"msShort": "신소재",
"phShort": "물리",
"tsShort": "융인",
"ssShort": "반시공",
"bceShort": "뇌인지",
"allShort": "전체",
"etcShort": "기타"
},
Expand Down

0 comments on commit 1a0e977

Please sign in to comment.