* [bug#54253,done,1.5h] set openedBuilds in bug::create.

This commit is contained in:
liumengyi
2024-08-21 16:52:42 +08:00
committed by 田淑杰
parent 82e13e5695
commit a535b60236
2 changed files with 24 additions and 4 deletions
+5 -4
View File
@@ -16,11 +16,11 @@ include($this->app->getModuleRoot() . 'ai/ui/inputinject.html.php');
$fields = useFields('bug.create');
if(!empty($executionType) && $executionType == 'kanban') $fields->merge('bug.kanban');
$fields->autoLoad('product', array('items' => 'product,module,openedBuild,execution,project,story,task,assignedTo', 'updateOrders' => true))
->autoLoad('branch', 'module,openedBuild,execution,project,story,task,assignedTo')
$fields->autoLoad('product', array('items' => 'product,module,execution,project,story,task,assignedTo', 'updateOrders' => true))
->autoLoad('branch', 'module,execution,project,story,task,assignedTo')
->autoLoad('module', 'assignedTo,story')
->autoLoad('project', 'project,openedBuild,execution,story,task,assignedTo,injection,identify')
->autoLoad('execution', 'execution,openedBuild,story,task,assignedTo')
->autoLoad('project', 'project,execution,story,task,assignedTo,injection,identify')
->autoLoad('execution', 'execution,story,task,assignedTo')
->autoLoad('allBuilds', 'openedBuild')
->autoLoad('allUsers', 'assignedTo')
->autoLoad('region', 'lane');
@@ -36,6 +36,7 @@ jsVar('projectExecutionPairs', $projectExecutionPairs);
formGridPanel
(
on::change('[name="product"], [name="branch"], [name="project"], [name="execution"]', 'loadBuilds'),
set::title($lang->bug->create),
set::fields($fields),
set::loadUrl($loadUrl)