From b8576f703e429d96ec26814d5b379978299fa1ab Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Fri, 19 Apr 2024 10:50:28 +0800 Subject: [PATCH] * Fix bug #47418, Add demand review setting. --- module/custom/ui/set.html.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/custom/ui/set.html.php b/module/custom/ui/set.html.php index 9e5c702e20..aa6763b76c 100644 --- a/module/custom/ui/set.html.php +++ b/module/custom/ui/set.html.php @@ -49,7 +49,7 @@ if($module == 'project' && $field == 'unitList') ); $actionWidth = 'w-full'; } -elseif($module == 'story' && $field == 'reviewRules') +elseif(in_array($module, array('story', 'demand')) && $field == 'reviewRules') { $formItems[] = formGroup ( @@ -71,7 +71,7 @@ elseif($module == 'story' && $field == 'reviewRules') set::items($users) ); } -elseif(($module == 'story' || $module == 'testcase') && $field == 'review') +elseif(in_array($module, array('story', 'demand', 'testcase')) && $field == 'review') { $formItems[] = formGroup ( @@ -84,7 +84,7 @@ elseif(($module == 'story' || $module == 'testcase') && $field == 'review') on::change('changeReview') ); - if($module == 'story') + if($module == 'story' || $module == 'demand') { $formItems[] = formRow (