test #163
|
@ -54,6 +54,7 @@ class ExplorerQueryRepository(
|
|||
.where(
|
||||
creatorFollowing.isActive.isTrue
|
||||
.and(creatorFollowing.creator.id.eq(creatorId))
|
||||
.and(creatorFollowing.member.isActive.isTrue)
|
||||
)
|
||||
.fetch()
|
||||
}
|
||||
|
|
|
@ -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