Skip to content

Commit

Permalink
Merge branch 'develop' into fix/reservation-auth
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeryboy authored Sep 22, 2023
2 parents abc27bb + c82ea86 commit f369e82
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class MainRepositoryImpl(
)
).from(noticeEntity)
.where(noticeEntity.isDeleted.eq(false), noticeEntity.isPrivate.eq(false))
.orderBy(noticeEntity.isPinned.desc()).orderBy(noticeEntity.createdAt.desc())
.orderBy(noticeEntity.createdAt.desc())
.limit(6).fetch()
}

Expand All @@ -82,7 +82,7 @@ class MainRepositoryImpl(
.rightJoin(tagInNoticeEntity).on(noticeTagEntity.tag.eq(tagInNoticeEntity))
.where(noticeTagEntity.tag.name.eq(tagEnum))
.where(noticeEntity.isDeleted.eq(false), noticeEntity.isPrivate.eq(false))
.orderBy(noticeEntity.isPinned.desc()).orderBy(noticeTagEntity.notice.createdAt.desc())
.orderBy(noticeTagEntity.notice.createdAt.desc())
.limit(6).distinct().fetch()
}

Expand Down

0 comments on commit f369e82

Please sign in to comment.