This commit is contained in:
tanghucheng
2022-01-27 13:54:06 +08:00
parent 02fde213b0
commit 516001b2eb
3 changed files with 6 additions and 3 deletions
@@ -3,6 +3,6 @@ class projectStory extends control
{
public function story($projectID = 0, $productID = 0, $branch = 0, $browseType = '', $param = 0, $storyType = 'story', $orderBy = '', $recTotal = 0, $recPerPage = 20, $pageID = 1)
{
die(js::locate(helper::createLink('product', 'browse', "productID=$productID&branch=$branch&browseType=$browseType&param=$param&storyType=$storyType&orderBy=$orderBy&recTotal=$recTotal&recPerPage=$recPerPage&pageID=$pageID&projectID=$projectID")));
echo $this->fetch('product', 'browse', "productID=$productID&branch=$branch&browseType=$browseType&param=$param&storyType=$storyType&orderBy=$orderBy&recTotal=$recTotal&recPerPage=$recPerPage&pageID=$pageID&projectID=$projectID");
}
}
+3 -2
View File
@@ -1920,9 +1920,10 @@ class baseRouter
$isExt = $this->setActionExtFile();
if($isExt)
{
spl_autoload_register(function($class)
$controlFile = $this->controlFile;
spl_autoload_register(function($class) use ($moduleName, $controlFile)
{
if($class == $this->moduleName) include $this->controlFile;
if($class == $moduleName) include $controlFile;
});
}
+2
View File
@@ -206,6 +206,8 @@ class task extends control
}
$stories = $this->story->getExecutionStoryPairs($executionID, 0, 'all', $moduleIdList, 'full', 'unclosed');
if($this->config->vision == 'lite') $stories = $stories + array('', '');
/* Get block id of assinge to me. */
$blockID = 0;
if(isonlybody())