fix: institution not order correctly
This commit is contained in:
parent
a0d3c89395
commit
3af6701ff0
1 changed files with 1 additions and 0 deletions
|
|
@ -95,6 +95,7 @@ export class InstitutionController extends Controller {
|
||||||
district: true,
|
district: true,
|
||||||
subDistrict: true,
|
subDistrict: true,
|
||||||
},
|
},
|
||||||
|
orderBy: [{ statusOrder: "asc" }, { code: "asc" }],
|
||||||
take: pageSize,
|
take: pageSize,
|
||||||
skip: (page - 1) * pageSize,
|
skip: (page - 1) * pageSize,
|
||||||
}),
|
}),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue