From 5ccabca585c38356b590deeefcd95c60743b1a41 Mon Sep 17 00:00:00 2001 From: daitingting Date: Fri, 6 Jan 2023 03:07:11 +0000 Subject: [PATCH] * Finish task #82068. --- module/datatable/control.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/module/datatable/control.php b/module/datatable/control.php index 5ff84da3f2..bd8a7f53dc 100644 --- a/module/datatable/control.php +++ b/module/datatable/control.php @@ -90,6 +90,9 @@ class datatable extends control } $cols = $this->datatable->getFieldList($module); + + if($module == 'story' && $extra != 'requirement') unset($cols['SRS']); + if($extra == 'requirement') { unset($cols['plan']); @@ -97,6 +100,8 @@ class datatable extends control unset($cols['taskCount']); unset($cols['bugCount']); unset($cols['caseCount']); + unset($cols['URS']); + $cols['title']['title'] = str_replace($this->lang->SRCommon, $this->lang->URCommon, $this->lang->story->title); }