fix: relation order get by id
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
This commit is contained in:
parent
5262ad2a63
commit
7bd685ea96
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue