no message
This commit is contained in:
parent
087098f8b2
commit
0a08e62a3a
1 changed files with 1 additions and 2 deletions
|
|
@ -144,8 +144,7 @@ export class InsigniaTypeController extends Controller {
|
|||
@Get("active")
|
||||
async GetInsigniaType_Active() {
|
||||
const insigniaType_Active = await this.insigniaTypeRepository.find({
|
||||
select: ["id", "name", "createdAt", "lastUpdatedAt", "lastUpdateFullName", "isActive"],
|
||||
where: { isActive: true },
|
||||
where: { isActive: true, insignias: { isActive: true } },
|
||||
order: { name: "ASC", insignias: { level: "ASC" } },
|
||||
relations: ["insignias"],
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue