* Fix for get all linked project stories.
This commit is contained in:
@@ -901,7 +901,7 @@ class productZen extends product
|
||||
* @access protected
|
||||
* @return array
|
||||
*/
|
||||
protected function getStories(int $projectID, int $productID, string $branchID = '', int $moduleID = 0, int $param = 0, string $storyType = 'all', string $browseType = '', string $orderBy = 'id_desc', object $pager = null): array
|
||||
protected function getStories(int $projectID, int $productID, string $branchID = '', int $moduleID = 0, int $param = 0, string $storyType = 'all', string $browseType = 'allstory', string $orderBy = 'id_desc', object $pager = null): array
|
||||
{
|
||||
/* Append id for second sort. */
|
||||
$sort = common::appendOrder($orderBy);
|
||||
|
||||
@@ -95,6 +95,7 @@ class projectStory extends control
|
||||
{
|
||||
$project = $this->loadModel('project')->getByID($projectID);
|
||||
$this->session->set('hasProduct', $project->hasProduct);
|
||||
$this->config->project->showGrades = null;
|
||||
|
||||
echo $this->fetch('product', 'track', "productID=$productID&branch=$branch&projectID=$projectID&browseType=$browseType¶m=$param&storyType=$storyType&orderBy=$orderBy&recTotal=$recTotal&recPerPage=$recPerPage&pageID=$pageID");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user