ประเภทประการเกียรติ
This commit is contained in:
parent
45c7a179c5
commit
087098f8b2
4 changed files with 37 additions and 1 deletions
|
|
@ -146,7 +146,8 @@ export class InsigniaTypeController extends Controller {
|
|||
const insigniaType_Active = await this.insigniaTypeRepository.find({
|
||||
select: ["id", "name", "createdAt", "lastUpdatedAt", "lastUpdateFullName", "isActive"],
|
||||
where: { isActive: true },
|
||||
order: { name: "ASC" },
|
||||
order: { name: "ASC", insignias: { level: "ASC" } },
|
||||
relations: ["insignias"],
|
||||
});
|
||||
return new HttpSuccess(insigniaType_Active);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue