task : populate
Build and Deploy Docker Images / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-07-20 19:34:14 +03:30
parent 8aaac51b12
commit a13097bbd6
3 changed files with 9 additions and 31 deletions
@@ -21,6 +21,8 @@ export class TaskRepository extends Repository<TMTask> {
.leftJoinAndSelect("task.times", "time")
.leftJoinAndSelect("task.ticket", "ticket")
.leftJoinAndSelect("time.admin", "timeAdmin")
.leftJoinAndSelect("task.comments", "comment")
.leftJoinAndSelect("comment.user", "commentUser")
.loadRelationCountAndMap("task.checkListItemCount", "task.checkListItems")
@@ -59,6 +61,13 @@ export class TaskRepository extends Repository<TMTask> {
"timeAdmin.id",
"timeAdmin.firstName",
"timeAdmin.lastName",
"comment.id",
"comment.content",
"comment.createdAt",
"commentUser.firstName",
"commentUser.lastName",
"commentUser.profilePic"
])
.where("task.id = :taskId", { taskId })