update
This commit is contained in:
@ -38,4 +38,4 @@
|
|||||||
"notification": "http://127.0.0.1:7004/",
|
"notification": "http://127.0.0.1:7004/",
|
||||||
"hrms": "https://tcelanatl.shiblysolution.id/hrms/"
|
"hrms": "https://tcelanatl.shiblysolution.id/hrms/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -219,6 +219,7 @@ export class UserController {
|
|||||||
.setParameters(subquery.getParameters())
|
.setParameters(subquery.getParameters())
|
||||||
.leftJoinAndSelect("User.roles", "roles")
|
.leftJoinAndSelect("User.roles", "roles")
|
||||||
.leftJoinAndSelect("roles.application", "application")
|
.leftJoinAndSelect("roles.application", "application")
|
||||||
|
.where("User.is_doctor = :is_doctor", { is_doctor: true })
|
||||||
.orderBy("User." + param.order_field, param.order_direction)
|
.orderBy("User." + param.order_field, param.order_direction)
|
||||||
.distinct(true);
|
.distinct(true);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user