diff --git a/src/controllers/KpiUserEvaluationController.ts b/src/controllers/KpiUserEvaluationController.ts index db4c298..102a1f8 100644 --- a/src/controllers/KpiUserEvaluationController.ts +++ b/src/controllers/KpiUserEvaluationController.ts @@ -241,6 +241,7 @@ export class KpiUserEvaluationController extends Controller { async listKpiUserCommanderEvaluation(@Path() id: string, @Path() type: string) { const kpiUserEvaluationReason = await this.kpiUserEvaluationReasonRepository.find({ where: { kpiUserEvaluationId: id, type: type.trim().toUpperCase() }, + order: { createdAt: "ASC" } }); return new HttpSuccess(kpiUserEvaluationReason); }