diff --git a/src/main/java/co/kr/jurumarble/vote/repository/VoteEntityRepositoryImpl.java b/src/main/java/co/kr/jurumarble/vote/repository/VoteEntityRepositoryImpl.java index 23ebd20..df182e4 100644 --- a/src/main/java/co/kr/jurumarble/vote/repository/VoteEntityRepositoryImpl.java +++ b/src/main/java/co/kr/jurumarble/vote/repository/VoteEntityRepositoryImpl.java @@ -235,7 +235,7 @@ public List 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();