콘텐츠 고정
- 고정 콘텐츠 리스트 정렬 순서 변경
This commit is contained in:
@@ -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