* [bug#58553] fix bug for system in kanban import list.

This commit is contained in:
liyang
2024-12-24 13:27:54 +08:00
committed by 曹延义
parent 3ff7355330
commit 10a1292a40
3 changed files with 10 additions and 0 deletions
+2
View File
@@ -1122,6 +1122,7 @@ class kanban extends control
$this->view->regionID = $regionID;
$this->view->groupID = $groupID;
$this->view->columnID = $columnID;
$this->view->appList = $this->loadModel('system')->getPairs();
$this->display();
}
@@ -1176,6 +1177,7 @@ class kanban extends control
$this->view->regionID = $regionID;
$this->view->groupID = $groupID;
$this->view->columnID = $columnID;
$this->view->appList = $this->loadModel('system')->getPairs();
$this->display();
}
+1
View File
@@ -30,6 +30,7 @@ $config->build->dtable->fieldList['id']['type'] = 'checkID';
unset($config->build->dtable->fieldList['branch']);
unset($config->build->dtable->fieldList['path']);
unset($config->build->dtable->fieldList['actions']);
$config->build->dtable->fieldList['system']['map'] = array(0 => '') + $appList;
foreach($config->build->dtable->fieldList as $id => $field) $config->build->dtable->fieldList[$id]['sortType'] = false;
+7
View File
@@ -47,6 +47,13 @@ unset($config->release->dtable->fieldList['title']['link']);
unset($config->release->dtable->fieldList['branch']);
unset($config->release->dtable->fieldList['actions']);
$config->release->dtable->fieldList['name']['width'] = 120;
$config->release->dtable->fieldList['system']['type'] = 'shortTitle';
$config->release->dtable->fieldList['system']['checkbox'] = false;
$config->release->dtable->fieldList['system']['nestedToggle'] = false;
$config->release->dtable->fieldList['system']['map'] = array(0 => '') + $appList;
foreach($config->release->dtable->fieldList as $id => $field) $config->release->dtable->fieldList[$id]['sortType'] = false;
formBase