diff --git a/src/controllers/SalaryPeriodController.ts b/src/controllers/SalaryPeriodController.ts index cf41dc9..d475509 100644 --- a/src/controllers/SalaryPeriodController.ts +++ b/src/controllers/SalaryPeriodController.ts @@ -650,6 +650,7 @@ export class SalaryPeriodController extends Controller { }), ) .orderBy("profile.citizenId", "ASC") + .addOrderBy("profile.isReserve", "ASC") .skip((body.page - 1) * body.pageSize) .take(body.pageSize) .getManyAndCount();