diff --git a/module/testcase/control.php b/module/testcase/control.php index 4b1bc6ddc7..88067a300d 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -548,7 +548,7 @@ class testcase extends control $modules = $this->tree->getAllChildID($modules); } - $stories = $this->story->getProductStoryPairs($productID, $branch, $modules, 'active', 'id_desc', 50, 'full', 'story', false); + $stories = $this->story->getProductStoryPairs($productID, $branch, $modules, 'all', 'id_desc', 50, 'full', 'story', false); if($this->app->tab != 'qa' and $this->app->tab != 'product') { $projectID = $this->app->tab == 'project' ? $this->session->project : $this->session->execution; diff --git a/module/testcase/js/common.js b/module/testcase/js/common.js index ae9ba83bf6..0a4a973edd 100644 --- a/module/testcase/js/common.js +++ b/module/testcase/js/common.js @@ -131,7 +131,7 @@ function setStories() productID = $('#product').val(); branch = $('#branch').val(); if(typeof(branch) == 'undefined') branch = 0; - link = createLink('story', 'ajaxGetProductStories', 'productID=' + productID + '&branch=' + branch + '&moduleID=' + moduleID + '&storyID=0&onlyOption=false&status=noclosed&limit=0&type=full&hasParent=1&executionID=' + executionID); + link = createLink('story', 'ajaxGetProductStories', 'productID=' + productID + '&branch=' + branch + '&moduleID=' + moduleID + '&storyID=0&onlyOption=false&status=all&limit=0&type=full&hasParent=1&executionID=' + executionID); $.get(link, function(stories) {