Skip to content

Commit

Permalink
Merge branch 'dev' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
kangwook1 committed Jan 5, 2025
2 parents f4d9fd3 + 4a596da commit c27ccf6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ public List<TopFavoriteMarketRes> findTopFavoriteMarkets(Long memberId, Integer
.leftJoin(favoriteMember).on(market.eq(favoriteMember.market)
.and(favoriteMember.isDeleted.eq(false)
.and(favoriteMember.member.id.eq(memberId))))
.groupBy(market.id, market.name, market.thumbnail)
.groupBy(market.id, market.name, market.thumbnail,favoriteMember.id)
.orderBy(favorite.id.count().desc()) // 찜 수가 많은 순으로 정렬
.fetch();
}
Expand Down

0 comments on commit c27ccf6

Please sign in to comment.