diff --git a/module/execution/control.php b/module/execution/control.php index 158d6b2638..e5077f122e 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -1903,14 +1903,14 @@ class execution extends control if($_POST) { - $stories = $this->loadModel('story')->getStories($executionID, 0, 0, $orderBy); + $stories = $this->loadModel('story')->getExecutionStories($executionID, 0, 0, $orderBy); $storySpecs = $this->story->getStorySpecs(array_keys($stories)); $order = 1; foreach($stories as $story) $story->order = $order++; $kanbanTasks = $this->execution->getKanbanTasks($executionID, "id"); - $kanbanBugs = $this->loadModel('bug')->getBugs($executionID); + $kanbanBugs = $this->loadModel('bug')->getExecutionBugs($executionID); $users = array(); $taskAndBugs = array();