From 43ae825ac0ef5b17be08df2410efa1ec3b57c433 Mon Sep 17 00:00:00 2001 From: harid Date: Wed, 28 Jan 2026 11:02:11 +0700 Subject: [PATCH] =?UTF-8?q?tuning=20api=20(=E0=B8=95=E0=B8=B1=E0=B8=94=20p?= =?UTF-8?q?rofileSalary=20=E0=B9=80=E0=B8=AA=E0=B9=89=E0=B8=99=E0=B8=97?= =?UTF-8?q?=E0=B8=B5=E0=B9=88=E0=B9=84=E0=B8=A1=E0=B9=88=E0=B9=84=E0=B8=94?= =?UTF-8?q?=E0=B9=89=E0=B9=83=E0=B8=8A=E0=B9=89=E0=B8=87=E0=B8=B2=E0=B8=99?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/ProfileController.ts | 24 +++++++++---------- src/controllers/ProfileEmployeeController.ts | 12 +++++----- .../ProfileEmployeeTempController.ts | 12 +++++----- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index cf74a0d0..4fe44943 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -7281,13 +7281,13 @@ export class ProfileController extends Controller { "current_holders.orgChild2", "current_holders.orgChild3", "current_holders.orgChild4", - "profileSalary", + // "profileSalary", ], - order: { - profileSalary: { - order: "DESC", - }, - }, + // order: { + // profileSalary: { + // order: "DESC", + // }, + // }, }); if (!profile) { const profile = await this.profileEmpRepo.findOne({ @@ -7301,13 +7301,13 @@ export class ProfileController extends Controller { "current_holders.orgChild2", "current_holders.orgChild3", "current_holders.orgChild4", - "profileSalary", + // "profileSalary", ], - order: { - profileSalary: { - order: "DESC", - }, - }, + // order: { + // profileSalary: { + // order: "DESC", + // }, + // }, }); if (!profile) { if (request.user.role.includes("SUPER_ADMIN")) { diff --git a/src/controllers/ProfileEmployeeController.ts b/src/controllers/ProfileEmployeeController.ts index 0206bf36..008f0c67 100644 --- a/src/controllers/ProfileEmployeeController.ts +++ b/src/controllers/ProfileEmployeeController.ts @@ -3494,13 +3494,13 @@ export class ProfileEmployeeController extends Controller { "current_holders.orgChild2", "current_holders.orgChild3", "current_holders.orgChild4", - "profileSalary", + // "profileSalary", ], - order: { - profileSalary: { - order: "DESC", - }, - }, + // order: { + // profileSalary: { + // order: "DESC", + // }, + // }, }); if (!profile) { if (request.user.role.includes("SUPER_ADMIN")) { diff --git a/src/controllers/ProfileEmployeeTempController.ts b/src/controllers/ProfileEmployeeTempController.ts index 9fdfd581..efe59ca2 100644 --- a/src/controllers/ProfileEmployeeTempController.ts +++ b/src/controllers/ProfileEmployeeTempController.ts @@ -2071,13 +2071,13 @@ export class ProfileEmployeeTempController extends Controller { "current_holders.orgChild2", "current_holders.orgChild3", "current_holders.orgChild4", - "profileSalary", + // "profileSalary", ], - order: { - profileSalary: { - order: "DESC", - }, - }, + // order: { + // profileSalary: { + // order: "DESC", + // }, + // }, }); if (!profile) { if (request.user.role.includes("SUPER_ADMIN")) {