Skip to content

Commit

Permalink
lecture department regex안타도록 롤백
Browse files Browse the repository at this point in the history
  • Loading branch information
Hank-Choi committed Jan 5, 2024
1 parent c4106d8 commit fe6e6c8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ class LectureCustomRepositoryImpl(
searchCondition.courseNumber?.takeIf { it.isNotEmpty() }?.let { Lecture::courseNumber inValues it },
searchCondition.classification?.takeIf { it.isNotEmpty() }?.let { Lecture::classification inValues it },
searchCondition.category?.takeIf { it.isNotEmpty() }?.let { Lecture::category inValues it },
searchCondition.department?.takeIf { it.isNotEmpty() }
?.let { departments -> Lecture::department regex departments.joinToString("|") { Regex.escape(it) } },
searchCondition.department?.takeIf { it.isNotEmpty() }?.let { Lecture::department inValues it },
searchCondition.times?.takeIf { it.isNotEmpty() }?.let { searchTimes ->
Criteria().andOperator(
Lecture::classPlaceAndTimes ne listOf(),
Expand Down

0 comments on commit fe6e6c8

Please sign in to comment.