* Fix bug of edit task has only main branch stories.

This commit is contained in:
xieqiyu
2022-01-05 14:03:09 +08:00
parent c8db935f34
commit a25ed2eedb
+1 -1
View File
@@ -2735,7 +2735,7 @@ class storyModel extends model
* @access public
* @return array
*/
public function getExecutionStoryPairs($executionID = 0, $productID = 0, $branch = 0, $moduleIdList = 0, $type = 'full', $status = 'all')
public function getExecutionStoryPairs($executionID = 0, $productID = 0, $branch = 'all', $moduleIdList = 0, $type = 'full', $status = 'all')
{
if(defined('TUTORIAL')) return $this->loadModel('tutorial')->getExecutionStoryPairs();
$stories = $this->dao->select('t2.id, t2.title, t2.module, t2.pri, t2.estimate, t3.name AS product')