Skip to content

Commit

Permalink
Merge pull request #280 from JNU-econovation/develop
Browse files Browse the repository at this point in the history
release 4.0.2
  • Loading branch information
Profile-exe authored Sep 24, 2024
2 parents 46630ba + 8354471 commit c1d0c10
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,11 @@ private void setSortType(Query query, String sortType) {
case "name" -> query.with(Sort.by(Direction.ASC, "qna.name"));
case "newest" -> query.with(Sort.by(Direction.DESC, "created_date"));
case "objective" -> query.with(
Sort.by(Direction.DESC, "qna.field1")); // WEB, GAME, APP, AI
Sort.by(
Sort.Order.asc("qna.field"), // 지원 분야: 개발자, 기획자, 디자이너
Sort.Order.desc("qna.field1"), // 세부 분야 1순위: WEB, GAME, APP, AI
Sort.Order.desc("qna.field2") // 세부 분야 2순위: WEB, GAME, APP, AI
));
}
}

Expand Down

0 comments on commit c1d0c10

Please sign in to comment.