From 8fc10639f5578489921d36f7294d5ab004f136ef Mon Sep 17 00:00:00 2001 From: mamoss <> Date: Thu, 27 Mar 2025 03:24:53 +0700 Subject: [PATCH] =?UTF-8?q?sort=20=E0=B8=9B=E0=B8=A5=E0=B8=B1=E0=B8=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/OrganizationController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/OrganizationController.ts b/src/controllers/OrganizationController.ts index 99fef001..bb806244 100644 --- a/src/controllers/OrganizationController.ts +++ b/src/controllers/OrganizationController.ts @@ -7564,7 +7564,7 @@ export class OrganizationController extends Controller { where: { orgRevision: { orgRevisionIsDraft: false, orgRevisionIsCurrent: true }, }, - order: { isDeputy: "DESC", orgRootOrder: "ASC" }, + order: { isDeputy: "ASC", orgRootOrder: "ASC" }, select: ["orgRootName"], }); const posType = await this.posTypeRepository.find({