* [bug#68722] Show all modules when batch create task in kanban.

This commit is contained in:
xieqiyu
2026-01-13 11:46:56 +08:00
committed by 谢杞钰
parent 8350bc65e8
commit 4d654bee5d
+1 -1
View File
@@ -441,7 +441,7 @@ class taskZen extends task
}
/* 获取模块和需求下拉数据。 Get module and story dropdown data. */
$showAllModule = !empty($this->config->execution->task->allModule) ? 'allModule' : '';
$showAllModule = !empty($this->config->execution->task->allModule) || $execution->type == 'kanban' ? 'allModule' : '';
$modules = $this->loadModel('tree')->getTaskOptionMenu($execution->id, 0, $showAllModule);
$story = $this->story->getByID($storyID);
$stories = $this->story->getExecutionStoryPairs($execution->id, 0, 'all', $story ? $story->module : 0, 'short', 'active', 'story', false);