Fix bug#33806.

This commit is contained in:
朱金勇
2023-04-07 01:21:31 +00:00
parent 4b399ad8f7
commit 2b9e5f4d95
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -748,7 +748,7 @@ class block extends control
if(preg_match('/[^a-zA-Z0-9_]/', $this->params->type)) return;
$this->view->projects = $this->loadModel('project')->getPairsByProgram();
$this->view->testtasks = $this->dao->select('t1.id,t2.name as productName,t2.shadow,t3.name as buildName,t4.name as projectName')->from(TABLE_TESTTASK)->alias('t1')
$this->view->testtasks = $this->dao->select('t1.*,t2.name as productName,t2.shadow,t3.name as buildName,t4.name as projectName')->from(TABLE_TESTTASK)->alias('t1')
->leftJoin(TABLE_PRODUCT)->alias('t2')->on('t1.product=t2.id')
->leftJoin(TABLE_BUILD)->alias('t3')->on('t1.build=t3.id')
->leftJoin(TABLE_PROJECT)->alias('t4')->on('t1.execution=t4.id')