This commit is contained in:
tianshujie
2024-01-23 10:31:17 +08:00
parent 013bb67842
commit 98e33c5df3
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -28,14 +28,14 @@ $fields->autoLoad('execution', 'execution,type,name,assignedToBox,region,lane,mo
$fields->orders('name,assignedToBox', 'module,testStoryBox', 'desc,module,storyBox');
$fields->fullModeOrders('type,module,storyBox,testStoryBox', 'desc,files,mailto,keywords');
if($execution->type == 'kanban')
if($execution->type == 'kanban' || empty(data('execution.multiple')))
{
$fields->orders('desc,module,storyBox', 'type,assignedToBox,region,lane');
$fields->fullModeOrders('name,assignedToBox', 'type,module,storyBox,testStoryBox', 'desc,files,mailto,keywords');
if(empty($features['story'])) $fields->fullModeOrders('type,module,storyBox', 'name,assignedToBox', 'desc,files,mailto,keywords');
}
if(empty($features['story']) && $execution->type != 'kanban')
if(empty($features['story']) && $execution->type != 'kanban' && !empty(data('execution.multiple')))
{
$fields->fullModeOrders('type,module,storyBox,testStoryBox,assignedToBox', 'desc,files,mailto,keywords');
}