Skip to content

Commit 0acd096

Browse files
authored
Merge pull request #166 from team-gogo/fix/stage-rank-order-problem
[stage] rank 인원 순서 페이징 문제
2 parents 7f2eede + 7fa0db7 commit 0acd096

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/kotlin/gogo/gogostage/domain/stage/root/persistence/StageCustomRepositoryImpl.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ class StageCustomRepositoryImpl(
3434
)
3535
.from(stageParticipant)
3636
.where(predicate)
37-
.orderBy(stageParticipant.point.desc())
37+
.orderBy(
38+
stageParticipant.point.desc(),
39+
stageParticipant.studentId.asc()
40+
)
3841
.offset(pageable.offset)
3942
.limit(pageable.pageSize.toLong())
4043
.fetch()

0 commit comments

Comments
 (0)