Skip to content

Commit

Permalink
Merge pull request #346 from DSM-PICK/345-period-club-attendance-sort
Browse files Browse the repository at this point in the history
🔀 :: (PiCK-345) period club attendance sort
  • Loading branch information
meltapplee authored Aug 29, 2024
2 parents 2a03e56 + 67361e5 commit 7efcd1d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ class QueryClubAttendanceService(
status = returnStatus,
classroomName = classroomName!!
)
}
}.sortedWith(
compareBy({ it.grade }, { it.classNum }, { it.num })
)
}
private fun returnStatus(period: Int, attendance: Attendance): AttendanceStatus {
return when (period) {
Expand Down

0 comments on commit 7efcd1d

Please sign in to comment.