Skip to content

Commit

Permalink
[Fix] #282 - 데이터 정렬 조건 기획 결정 사항 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
0lynny committed May 31, 2024
1 parent 192c895 commit c769667
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public List<Objective> findSocialObjectives() {
.join(objective.keyResultList, keyResult).fetchJoin()
.join(keyResult.taskList, task)
.where(objective.isPublic.eq(true))
.orderBy(objective.id.desc())
.orderBy(objective.heartCount.desc(), objective.id.desc())
.limit(10)
.fetch();
}
Expand Down

0 comments on commit c769667

Please sign in to comment.