Merge pull request '팔로우 한 크리에이터 커뮤니티 게시물 조회 - 인증하지 않은 사람은 19금이 아닌 최신 게시물이 조회되도록 수정' (#105) from test into main
Reviewed-on: #105
This commit is contained in:
commit
962f800d2e
|
@ -90,6 +90,7 @@ class CreatorCommunityQueryRepositoryImpl(private val queryFactory: JPAQueryFact
|
||||||
val subQuery = queryFactory
|
val subQuery = queryFactory
|
||||||
.select(latest.member.id, latest.createdAt.max().`as`("maxCreatedAt"))
|
.select(latest.member.id, latest.createdAt.max().`as`("maxCreatedAt"))
|
||||||
.from(latest)
|
.from(latest)
|
||||||
|
.where(where)
|
||||||
.groupBy(latest.member.id)
|
.groupBy(latest.member.id)
|
||||||
|
|
||||||
where = where.and(
|
where = where.and(
|
||||||
|
|
Loading…
Reference in New Issue