From 78a0974f3662bc6d2debb537a13e2cff36c27207 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Thu, 8 Aug 2024 13:27:48 +0700 Subject: [PATCH] fix: relation ordering --- src/controllers/customer-controller.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/customer-controller.ts b/src/controllers/customer-controller.ts index 98b229c..fd67377 100644 --- a/src/controllers/customer-controller.ts +++ b/src/controllers/customer-controller.ts @@ -232,6 +232,7 @@ export class CustomerController extends Controller { district: true, subDistrict: true, }, + orderBy: { branchNo: "desc" }, }, createdBy: true, updatedBy: true,