This commit is contained in:
mayue
2022-06-21 13:30:00 +08:00
parent 0f0fd55ba3
commit d97b5aeb97
16 changed files with 33 additions and 15 deletions
+15
View File
@@ -871,6 +871,21 @@ class execution extends control
$this->display();
}
/**
* View a story.
*
* @param int $storyID
* @access public
* @return void
*/
public function storyView($storyID)
{
$this->session->set('productList', $this->app->getURI(true), 'product');
$story = $this->loadModel('story')->getByID($storyID);
echo $this->fetch('story', 'view', "storyID=$storyID&version=$story->version&param=" . $this->session->execution);
}
/**
* Browse bugs of a execution.
*