Skip to content

Commit

Permalink
fix : 미션 모아보기 정렬 기준 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seungueonn committed Dec 4, 2023
1 parent 52cadf2 commit 7ac6681
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public Optional<List<GatherRepeatMissionRes>> findRepeatMissionByMemberId(Long m
mission.type.eq(MissionType.REPEAT)
)
.groupBy(mission.id)
.orderBy(missionArchive.count().desc())
.fetch());
}

Expand Down Expand Up @@ -122,7 +123,7 @@ public Optional<List<GatherSingleMissionRes>> findSingleMissionByMemberId(Long m
mission.type.eq(MissionType.ONCE),
missionState.id.isNull()
)
.orderBy(mission.dueTo.desc())
.orderBy(mission.dueTo.asc())
.fetch());
}

Expand Down

0 comments on commit 7ac6681

Please sign in to comment.