diff --git a/module/testcase/js/common.ui.js b/module/testcase/js/common.ui.js index 66283599bd..76961efd83 100644 --- a/module/testcase/js/common.ui.js +++ b/module/testcase/js/common.ui.js @@ -8,7 +8,7 @@ window.loadProductStories = function(productID) if(typeof(moduleID) == 'undefined') moduleID = 0; if(typeof(storyID) == 'undefined') storyID = 0; - const link = $.createLink('story', 'ajaxGetProductStories', 'productID=' + productID + '&branch=' + branch + '&moduleID=' + moduleID + '&storyID=' + storyID + '&onlyOption=false&status=noclosed&limit=0&type=&hasParent=0&objectID=' + objectID); + const link = $.createLink('story', 'ajaxGetProductStories', 'productID=' + productID + '&branch=' + branch + '&moduleID=' + moduleID + '&storyID=' + storyID + '&onlyOption=false&status=active&limit=0&type=&hasParent=0&objectID=' + objectID); $.getJSON(link, function(data) { let $storyPicker = $('[name=story]').zui('picker'); @@ -149,7 +149,7 @@ window.loadStoriesForBatch = function(productID, moduleID, num, $currentRow = nu let branchID = $currentRow.find('.form-batch-control[data-name="branch"]').length ? $currentRow.find('.form-batch-control[data-name="branch"] .pick-value').val() : 0; if(!branchID) branchID = 0; - const storyLink = $.createLink('story', 'ajaxGetProductStories', 'productID=' + productID + '&branch=' + branchID + '&moduleID=' + moduleID + '&storyID=0&onlyOption=false&status=noclosed&limit=0&type=&hasParent=1&objectID=0&number=' + num); + const storyLink = $.createLink('story', 'ajaxGetProductStories', 'productID=' + productID + '&branch=' + branchID + '&moduleID=' + moduleID + '&storyID=0&onlyOption=false&status=active&limit=0&type=&hasParent=1&objectID=0&number=' + num); $.getJSON(storyLink, function(stories) { if(!stories) return;