From 717966796ee82453bcdc260cf7683452d48fdd2f Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Wed, 29 Jan 2025 14:51:03 +0700 Subject: [PATCH] fix: ordering --- src/controllers/01-branch-controller.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controllers/01-branch-controller.ts b/src/controllers/01-branch-controller.ts index 746f3bf..acb204f 100644 --- a/src/controllers/01-branch-controller.ts +++ b/src/controllers/01-branch-controller.ts @@ -321,6 +321,7 @@ export class BranchController extends Controller { district: true, subDistrict: true, }, + orderBy: { code: "asc" }, } : false, bank: true, @@ -364,6 +365,7 @@ export class BranchController extends Controller { bank: true, contact: includeContact, }, + orderBy: { code: "asc" }, }, bank: true, contact: includeContact,