* [task#125055,done,0.1h,0h] Add sapces to sql.
This commit is contained in:
@@ -426,8 +426,8 @@ class designModel extends model
|
||||
{
|
||||
return $this->dao->select('t1.revision,t3.id AS id,t3.name AS title')
|
||||
->from(TABLE_REPOHISTORY)->alias('t1')
|
||||
->leftJoin(TABLE_RELATION)->alias('t2')->on('t2.relation="completedin" and t2.BType="commit" and t2.BID=t1.id')
|
||||
->leftJoin(TABLE_DESIGN)->alias('t3')->on('t2.AType="design" and t2.AID=t3.id')
|
||||
->leftJoin(TABLE_RELATION)->alias('t2')->on('t2.relation="completedin" AND t2.BType="commit" AND t2.BID=t1.id')
|
||||
->leftJoin(TABLE_DESIGN)->alias('t3')->on('t2.AType="design" AND t2.AID=t3.id')
|
||||
->where('t1.revision')->in($revisions)
|
||||
->andWhere('t1.repo')->eq($repoID)
|
||||
->andWhere('t3.id')->ne('')
|
||||
|
||||
Reference in New Issue
Block a user