diff --git a/module/datatable/control.php b/module/datatable/control.php index 1ef379422c..2d52476456 100644 --- a/module/datatable/control.php +++ b/module/datatable/control.php @@ -92,6 +92,9 @@ class datatable extends control { unset($cols['plan']); unset($cols['stage']); + unset($cols['taskCount']); + unset($cols['bugCount']); + unset($cols['caseCount']); } $this->view->cols = $cols; diff --git a/module/product/view/browse.html.php b/module/product/view/browse.html.php index b2727fb5ba..65f0077a04 100644 --- a/module/product/view/browse.html.php +++ b/module/product/view/browse.html.php @@ -313,7 +313,7 @@ $projectIDParam = $isProjectStory ? "projectID=$projectID&" : ''; { if($value->id == 'title' || $value->id == 'id' || $value->id == 'pri' || $value->id == 'status') { - if($storyType == 'requirement' and (in_array($value->id, array('plan', 'stage')))) $value->show = false; + if($storyType == 'requirement' and (in_array($value->id, array('plan', 'stage', 'taskCount', 'bugCount', 'caseCount')))) $value->show = false; if($value->show) { @@ -326,7 +326,7 @@ $projectIDParam = $isProjectStory ? "projectID=$projectID&" : ''; $value) { - if($storyType == 'requirement' and (in_array($value->id, array('plan', 'stage')))) $value->show = false; + if($storyType == 'requirement' and (in_array($value->id, array('plan', 'stage', 'taskCount', 'bugCount', 'caseCount')))) $value->show = false; if($value->show) {