From de5ab488181f832cd2f10d3e37ad34854f993a33 Mon Sep 17 00:00:00 2001 From: holan20180123 <56391770@qq.com> Date: Fri, 4 Jun 2021 13:57:20 +0800 Subject: [PATCH] * Adjust logic of hidden stage field. --- module/story/view/batchedit.html.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/story/view/batchedit.html.php b/module/story/view/batchedit.html.php index 5f16b51bbe..3b188e40b9 100644 --- a/module/story/view/batchedit.html.php +++ b/module/story/view/batchedit.html.php @@ -32,7 +32,8 @@ $visibleFields = array(); foreach(explode(',', $showFields) as $field) { - if($field and ($storyType == 'story' or $field != 'stage'))$visibleFields[$field] = ''; + if($storyType == 'requeirment' and $field == 'stage') continue; + if($field) $visibleFields[$field] = ''; } ?>