From 47135cba3afdb2c40b5eb9930b6b8bdf73734d73 Mon Sep 17 00:00:00 2001 From: daitingting Date: Tue, 14 Nov 2023 05:44:46 +0000 Subject: [PATCH] * Use dtable config. --- module/bug/control.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/module/bug/control.php b/module/bug/control.php index fd3a4b6cea..4468a39ff3 100755 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -610,8 +610,8 @@ class bug extends control { /* 设置模块数据源。 */ /* Set module data source. */ - $this->config->bug->datatable->fieldList['module']['dataSource']['method'] = 'getAllModulePairs'; - $this->config->bug->datatable->fieldList['module']['dataSource']['params'] = 'bug'; + $this->config->bug->dtable->fieldList['module']['dataSource']['method'] = 'getAllModulePairs'; + $this->config->bug->dtable->fieldList['module']['dataSource']['params'] = 'bug'; /* 如果导出执行的bug,设置数据源。 */ /* In execution, set data source. */ @@ -619,8 +619,8 @@ class bug extends control { $object = $this->dao->findById($executionID)->from(TABLE_EXECUTION)->fetch(); $projectID = $object->type == 'project' ? $object->id : $object->parent; - $this->config->bug->datatable->fieldList['project']['dataSource'] = array('module' => 'project', 'method' => 'getPairsByIdList', 'params' => $projectID); - $this->config->bug->datatable->fieldList['execution']['dataSource'] = array('module' => 'execution', 'method' => 'getPairs', 'params' => $projectID); + $this->config->bug->dtable->fieldList['project']['dataSource'] = array('module' => 'project', 'method' => 'getPairsByIdList', 'params' => $projectID); + $this->config->bug->dtable->fieldList['execution']['dataSource'] = array('module' => 'execution', 'method' => 'getPairs', 'params' => $projectID); } }