Skip to content

Commit

Permalink
fix: "수업일지 정렬 수정"
Browse files Browse the repository at this point in the history
  • Loading branch information
seonwoo-jung committed Jun 11, 2024
1 parent 119c077 commit 4e172b7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class LessonHistoryRepositoryImpl(
validateMemberTypeAndMemberIdEq(memberId, memberType),
lessonHistoryFiles.lessonHistoryComment.id.isNull
)
.orderBy(lessonHistory.id.desc())
.offset(pageable.offset)
.limit(pageable.pageSize.toLong())
.fetch()
Expand Down Expand Up @@ -114,6 +115,7 @@ class LessonHistoryRepositoryImpl(
)
.offset(pageable.offset)
.limit(pageable.pageSize.toLong())
.orderBy(lessonHistory.id.desc())
.fetch()

val totalCount = queryFactory
Expand Down

0 comments on commit 4e172b7

Please sign in to comment.