diff --git a/module/story/model.php b/module/story/model.php index b89cba2856..28c7a07a17 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -37,7 +37,7 @@ class storyModel extends model ->where('t1.story')->eq($storyID) ->orderBy('t1.project DESC') ->fetchAll('project'); - $story->tasks = $this->dao->select('id, name, owner, project, status, consumed, `left`')->from(TABLE_TASK)->where('story')->eq($storyID)->orderBy('id DESC')->fetchGroup('project'); + $story->tasks = $this->dao->select('id, name, assignedTo, project, status, consumed, `left`')->from(TABLE_TASK)->where('story')->eq($storyID)->orderBy('id DESC')->fetchGroup('project'); //$story->bugCount = $this->dao->select('COUNT(*)')->alias('count')->from(TABLE_BUG)->where('story')->eq($storyID)->fetch('count'); //$story->caseCount = $this->dao->select('COUNT(*)')->alias('count')->from(TABLE_CASE)->where('story')->eq($storyID)->fetch('count'); if($story->toBug) $story->toBugTitle = $this->dao->findById($story->toBug)->from(TABLE_BUG)->fetch('title'); diff --git a/module/story/view/affected.html.php b/module/story/view/affected.html.php index adef69c454..f738a78e18 100644 --- a/module/story/view/affected.html.php +++ b/module/story/view/affected.html.php @@ -10,7 +10,7 @@