Skip to content

Commit

Permalink
refactor: 댓글 오래된 순 정렬 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueBerrySoda authored May 27, 2024
1 parent 077ed13 commit ee9499d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private OrderSpecifier[] createOrderSpecifier(String sortBy) {
List<OrderSpecifier> orderSpecifierList = new ArrayList<>();

if(sortBy.equals("date")) {
orderSpecifierList.add(new OrderSpecifier(Order.DESC, answer.createdDate));
orderSpecifierList.add(new OrderSpecifier(Order.ASC, answer.createdDate));
}
else if(sortBy.equals("like")) {
orderSpecifierList.add(new OrderSpecifier(Order.DESC, answer.likeCount));
Expand Down

0 comments on commit ee9499d

Please sign in to comment.