Merge pull request 'test' (#163) from test into main

Reviewed-on: #163
This commit is contained in:
klaus 2024-04-09 14:40:33 +00:00
commit 05df86e15a
2 changed files with 3 additions and 2 deletions

View File

@ -54,6 +54,7 @@ class ExplorerQueryRepository(
.where(
creatorFollowing.isActive.isTrue
.and(creatorFollowing.creator.id.eq(creatorId))
.and(creatorFollowing.member.isActive.isTrue)
)
.fetch()
}

View File

@ -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()
)