Skip to content

Commit

Permalink
Merge pull request #70 from DEPthes/develop
Browse files Browse the repository at this point in the history
[DEPLOY]
  • Loading branch information
jisujeong0 authored Aug 20, 2024
2 parents 54c3bb2 + 6ab1534 commit a751762
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,8 @@ public ResponseEntity<?> searchMyBoards(CustomUserDetails customUserDetails, int
break;
case "like":
myBoardResList = sortByLike(user, filterDrafts, keyword);
myBoardResList.sort(Comparator.comparing(MyBoardRes::getCountLike, Comparator.reverseOrder()));
myBoardResList.sort(Comparator.comparing(MyBoardRes::getCountLike, Comparator.reverseOrder())
.thenComparing(MyBoardRes::getCreatedDate, Comparator.reverseOrder()));
myBoardResList = applyPagination(myBoardResList, page, size);
break;
default:
Expand Down

0 comments on commit a751762

Please sign in to comment.