From 7f420cd374a343cca7fe287e7af930d7ceb16b8c Mon Sep 17 00:00:00 2001 From: wangxuepeng Date: Thu, 23 Feb 2023 07:31:33 +0000 Subject: [PATCH] * Fix bug #32166. --- module/testcase/control.php | 2 +- module/testcase/js/common.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/testcase/control.php b/module/testcase/control.php index 4b1bc6ddc7..47ed2468eb 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, '', '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..cd8c6bb607 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&limit=0&type=full&hasParent=1&executionID=' + executionID); $.get(link, function(stories) {