Skip to content

Commit

Permalink
fix: reversed 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeongh00 committed Aug 5, 2024
1 parent cc566df commit b231621
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public HomeInfo findMarketLists(String accessToken) {
// VisitListHome 리스트를 날짜 기준으로 정렬
visitListHomeList.sort(Comparator.comparing(VisitListHome::visitDate));
// HotListHome 리스트를 qrVisit 순으로 정렬
hotListHomeList.sort(Comparator.comparingInt(HotListHome::totalQrVisit));
hotListHomeList.sort(Comparator.comparingInt(HotListHome::totalQrVisit).reversed());

return new HomeInfo(visitListHomeList, hotListHomeList);
}
Expand Down

0 comments on commit b231621

Please sign in to comment.