Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
fix: apply order-by query on get-unsubmit-list method
Browse files Browse the repository at this point in the history
  • Loading branch information
jspark2000 committed Mar 21, 2024
1 parent be24604 commit be2dac9
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion backend/app/src/survey/survey.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,19 @@ export class SurveyService {
profileImageUrl: true
}
}
}
},
orderBy: [
{
Roster: {
admissionYear: 'asc'
}
},
{
Roster: {
name: 'asc'
}
}
]
})

const unsubmitList = surveyTargets.map((item) => {
Expand Down

0 comments on commit be2dac9

Please sign in to comment.