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 1d26701 commit accb38f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public List<PostDataByInquiry> findByInquiry(final InquiryRequest inquiryRequest
.from(studyPostEntity)
.leftJoin(userEntity).on(studyPostEntity.postedUserId.eq(userEntity.id))
.where(textEq(inquiryRequest.getInquiryText()).or(majorEq(inquiryRequest.getInquiryText(), inquiryRequest.isTitleAndMajor())))
.orderBy(hotPredicate(inquiryRequest), studyPostEntity.createdDate.desc())
.orderBy(studyPostEntity.close.asc(), hotPredicate(inquiryRequest), studyPostEntity.createdDate.desc())
.offset(pageable.getOffset())
.limit(pageable.getPageSize() + 1);

Expand Down

0 comments on commit accb38f

Please sign in to comment.