The fullname is displayed instead of the username if not empty
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user