Skip to content

Commit

Permalink
Merge pull request #56 from 9oormthon-univ/55-refactor-store-search-a…
Browse files Browse the repository at this point in the history
…dd-stars-to-sortby

#55 - Stars add to SortBy
  • Loading branch information
hyeneung authored Dec 6, 2024
2 parents 238a510 + cbc22e3 commit db8df01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public ResponseEntity<StoreListDTO> getAllStore(
@AuthenticationPrincipal CustomUserDetails userDetails,
@Parameter(description = "page 의 순서를 의미합니다.") @RequestParam(value = "page", required = false, defaultValue = "0") int page,
@Parameter(description = "page 의 크기를 의미합니다.") @RequestParam(value = "size", required = false, defaultValue = "10") int size,
@Parameter(description = "정렬 기준입니다. 좋아요 많은 순: likeCount, 후원금액 높은 순: usableDonation, 리뷰 많은 순: reviewCount") @RequestParam(value = "sortby", required = false, defaultValue = "likeCount") String sortby,
@Parameter(description = "정렬 기준입니다. 좋아요 많은 순: likeCount, 후원금액 높은 순: usableDonation, 리뷰 많은 순: reviewCount, 별점 순: stars") @RequestParam(value = "sortby", required = false, defaultValue = "likeCount") String sortby,
@Parameter(description = "검색할 keyword를 의미합니다.") @RequestParam(value = "keyword", required = false) String keyword,
@Parameter(description = "현재위치의 경도를 의미합니다.") @RequestParam(value = "logt", required = false) Double logt,
@Parameter(description = "현재위치의 위도를 의미합니다.") @RequestParam(value = "lat", required = false) Double lat
Expand Down

0 comments on commit db8df01

Please sign in to comment.