* [bug#57105] adjust job log order.
This commit is contained in:
@@ -61,6 +61,7 @@ class compileModel extends model
|
||||
$this->session->set('compileOnlyCondition', true, $this->app->tab);
|
||||
}
|
||||
|
||||
if(strpos($orderBy, 'id') === false) $orderBy .= ', id_desc';
|
||||
return $this->dao->select('t1.id, t1.name, t1.job, t1.status, t1.createdDate, t1.testtask, t2.pipeline, t2.triggerType, t2.svnDir, t2.comment, t2.atDay, t2.atTime, t2.engine, t2.triggerActions, t3.name as repoName, t4.name as jenkinsName')->from(TABLE_COMPILE)->alias('t1')
|
||||
->leftJoin(TABLE_JOB)->alias('t2')->on('t1.job=t2.id')
|
||||
->leftJoin(TABLE_REPO)->alias('t3')->on('t2.repo=t3.id')
|
||||
|
||||
Reference in New Issue
Block a user