From ccb9327c5a562d39ac53b0a8404eced8ca34115c Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Wed, 24 Nov 2021 10:11:34 +0800 Subject: [PATCH 1/2] * Fix bug#16565. --- module/my/view/story.html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/my/view/story.html.php b/module/my/view/story.html.php index 15b028fb24..029b2dfe62 100644 --- a/module/my/view/story.html.php +++ b/module/my/view/story.html.php @@ -143,10 +143,10 @@ { $vars = "story={$child->id}"; common::printIcon('story', 'change', $vars, $child, 'list', 'alter', '', 'iframe', true); - common::printIcon('story', 'review', $vars, $child, 'list', 'search'); + common::printIcon('story', 'review', $vars, $child, 'list', 'search', '', 'iframe', true); common::printIcon('story', 'close', $vars, $child, 'list', '', '', 'iframe', true); common::printIcon('story', 'edit', $vars, $child, 'list', '', '', 'iframe', true, "data-width='95%'"); - common::printIcon('story', 'createCase', "productID=$child->product&branch=$child->branch&module=0&from=¶m=0&$vars", $child, 'list', 'sitemap'); + common::printIcon('story', 'createCase', "productID=$child->product&branch=$child->branch&module=0&from=¶m=0&$vars", $child, 'list', 'sitemap', '', 'iframe', true, "data-width='95%'"); } ?> From 0c633c71d6a1dd08a4d33412e14f4151791b4fb8 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Wed, 24 Nov 2021 10:22:12 +0800 Subject: [PATCH 2/2] * Fix a bug:There is an error on the suite use case page. --- module/testsuite/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testsuite/control.php b/module/testsuite/control.php index 2fd00bc077..390877abcd 100644 --- a/module/testsuite/control.php +++ b/module/testsuite/control.php @@ -189,7 +189,7 @@ class testsuite extends control $this->view->cases = $this->testsuite->getLinkedCases($suiteID, $sort, $pager); $this->view->orderBy = $orderBy; $this->view->pager = $pager; - $this->view->modules = $this->loadModel('tree')->getOptionMenu($suite->product, 'case'); + $this->view->modules = $this->loadModel('tree')->getOptionMenu($suite->product, 'case', 0, 'all'); $this->view->branches = $this->loadModel('branch')->getPairs($suite->product, 'noempty'); $this->view->canBeChanged = common::canBeChanged('testsuite', $suite);