* [bug#61318,done,0.2h] remove testtask field under the contribute list.

This commit is contained in:
tianshujie
2025-04-09 08:49:57 +08:00
committed by 刘刚
parent 7a12e95746
commit c5f358d15d
+1 -1
View File
@@ -27,7 +27,7 @@ $footToolbar = array('items' => array
$canBatchEdit ? array('text' => $lang->edit, 'className' => 'batch-btn', 'data-url' => helper::createLink('testcase', 'batchEdit', 'productID=0&branch=all&type=case&tab=my')) : null
), 'btnProps' => array('size' => 'sm', 'btnType' => 'secondary'));
if($type == 'openedbyme')
if($type == 'openedbyme' || $app->rawMethod == 'contribute')
{
unset($config->my->testcase->dtable->fieldList['testtask']);
unset($config->my->testcase->dtable->fieldList['openedBy']);