From 658123a2328867a87da59ca660a7044d99eea22c Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 16 Aug 2014 17:53:07 -0700 Subject: The fullname is displayed instead of the username if not empty --- app/Model/SubTask.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Model/SubTask.php') diff --git a/app/Model/SubTask.php b/app/Model/SubTask.php index c7bab44b..9f2941c5 100644 --- a/app/Model/SubTask.php +++ b/app/Model/SubTask.php @@ -80,7 +80,7 @@ class SubTask extends Base $status = $this->getStatusList(); $subtasks = $this->db->table(self::TABLE) ->eq('task_id', $task_id) - ->columns(self::TABLE.'.*', User::TABLE.'.username') + ->columns(self::TABLE.'.*', User::TABLE.'.username', User::TABLE.'.name') ->join(User::TABLE, 'id', 'user_id') ->findAll(); -- cgit v1.2.3