Skip to content

Commit

Permalink
🐛 fix : 상품목록 인기순 반환 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
moonyaeyoon committed Jul 24, 2024
1 parent 9245ee8 commit dcbdd81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private OrderSpecifier<?> getSortOrder(String sort, QProducts products, QFavorit
}
switch (sort) {
case "favorite":
return favoriteProduct.id.count().desc(); // 제품에 대한 좋아요 수 기준 내림차순 정렬
return favoriteProduct.id.count().desc();
case "latest":
return products.createdAt.desc();
case "deadline":
Expand Down

0 comments on commit dcbdd81

Please sign in to comment.