fix: relation order get by id
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s

This commit is contained in:
Methapon2001 2025-06-30 14:05:41 +07:00
parent 5262ad2a63
commit 7bd685ea96

View file

@ -370,7 +370,7 @@ export class BranchController extends Controller {
bank: true, bank: true,
contact: includeContact, contact: includeContact,
}, },
orderBy: { code: "asc" }, orderBy: [{ statusOrder: "asc" }, { code: "asc" }],
}, },
bank: true, bank: true,
contact: includeContact, contact: includeContact,