콘텐츠 상단 고정 기능 추가 #120
@@ -23,7 +23,7 @@ class PinContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) :
|
|||||||
return queryFactory
|
return queryFactory
|
||||||
.selectFrom(pinContent)
|
.selectFrom(pinContent)
|
||||||
.where(where)
|
.where(where)
|
||||||
.orderBy(pinContent.updatedAt.asc())
|
.orderBy(pinContent.isActive.asc(), pinContent.updatedAt.asc())
|
||||||
.fetch()
|
.fetch()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user