Skip to content

Commit

Permalink
[Feat] : 북마크한 스터디 게시글 마감된거 맨 밑으로
Browse files Browse the repository at this point in the history
  • Loading branch information
wellbeing-dough committed Feb 3, 2024
1 parent 6fadf33 commit 1d26701
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public List<PostDataByBookmark> findPostsByBookmarked(Long userId, Pageable page
.from(post)
.innerJoin(bookmark).on(bookmark.postId.eq(post.id))
.where(bookmark.userId.eq(userId))
.orderBy(post.createdDate.desc())
.orderBy(post.close.asc(), post.createdDate.desc())
.offset(pageable.getOffset())
.limit(pageable.getPageSize() + 1);

Expand Down

0 comments on commit 1d26701

Please sign in to comment.