라이브 중 리스트 - 정렬 조건 수정
- 라이브 랭킹 값이 없는 경우 0으로 처리해서 정렬 되도록 수정
This commit is contained in:
parent
2ca4204775
commit
4e84678a3c
|
@ -58,8 +58,8 @@ class LiveRoomQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) : L
|
|||
.offset(offset)
|
||||
.limit(limit)
|
||||
.orderBy(
|
||||
quarterLiveRankings.totalCan.desc(),
|
||||
quarterLiveRankings.totalParticipants.desc(),
|
||||
quarterLiveRankings.totalCan.coalesce(0).desc(),
|
||||
quarterLiveRankings.totalParticipants.coalesce(0).desc(),
|
||||
liveRoom.beginDateTime.desc(),
|
||||
liveRoom.member.createdAt.desc()
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue