Skip to content

Commit

Permalink
Merge pull request #110 from jurumarble/dev
Browse files Browse the repository at this point in the history
fix : 전통주 인기순 조회 페이지네이션 정렬 버그 수정
  • Loading branch information
jonghyunhub authored Oct 19, 2023
2 parents df5f220 + e7b3824 commit cf0f385
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public List<VoteData> findDrinkVotesByPopularity(String keyword, String region,
.and(searchConditions)
)
.groupBy(vote.id)
.orderBy(vote.id.count().desc())
.orderBy(vote.id.count().desc(), vote.title.asc())
.offset(pageNum * pageSize)
.limit(pageSize + 1)
.fetch();
Expand Down

0 comments on commit cf0f385

Please sign in to comment.