From 765cf7438e9f86fa5ea39731af85310e8aa31ea4 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Thu, 19 May 2022 16:25:06 +0800 Subject: [PATCH] * When mandatory review, add required items to the review. --- module/story/control.php | 1 + module/story/view/batchcreate.html.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/module/story/control.php b/module/story/control.php index 1fb8b8e976..29425f0ff2 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -602,6 +602,7 @@ class story extends control $this->view->branches = $branches; /* When the user is product owner or add story in project or not set review, the default is not to review. */ $this->view->needReview = ($this->app->user->account == $product->PO || $executionID > 0 || $this->config->story->needReview == 0) ? 0 : 1; + $this->view->forceReview = $this->story->checkForceReview(); $this->view->executionID = $executionID; $this->display(); diff --git a/module/story/view/batchcreate.html.php b/module/story/view/batchcreate.html.php index 13876bf8a5..6c9f1ff6c0 100755 --- a/module/story/view/batchcreate.html.php +++ b/module/story/view/batchcreate.html.php @@ -62,7 +62,7 @@ story->category;?> '>story->pri;?> '>story->estimate;?> - ' style="width: 200px !important">story->reviewedBy;?> + ' style="width: 200px !important">story->reviewedBy;?> '>story->keywords;?> story->getFlowExtendFields();