Skip to content

Commit

Permalink
Merge pull request #152 from KUSITMS-29th-TEAM-B/fix/flight-151
Browse files Browse the repository at this point in the history
fix: 상위 태그 내 존재 연도 조회 기준 활동 시작일로 변경(#151)
  • Loading branch information
whereami2048 authored May 22, 2024
2 parents 28d54fa + 196f731 commit 903579e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ class TagGetService(
}

val years = experiences
.distinctBy { it.createdAt.year }
.map { it.createdAt.year }
.distinctBy { it.startedAt.year }
.map { it.startedAt.year }
.sorted().reversed()

return GetParentTag.Years(years)
Expand Down

0 comments on commit 903579e

Please sign in to comment.