* [highgo] Use notNULL for join filter.
This commit is contained in:
@@ -2248,7 +2248,7 @@ class bugModel extends model
|
||||
->leftJoin(TABLE_BUG)->alias('t3')->on("t2.AType='bug' AND t2.AID=t3.id")
|
||||
->where('t1.revision')->in($revisions)
|
||||
->andWhere('t1.repo')->eq($repoID)
|
||||
->andWhere('t3.id')->ne('')
|
||||
->andWhere('t3.id')->notNULL()
|
||||
->fetchGroup('revision', 'id');
|
||||
}
|
||||
|
||||
|
||||
@@ -470,7 +470,7 @@ class designModel extends model
|
||||
->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('')
|
||||
->andWhere('t3.id')->notNULL()
|
||||
->orderBy('id')
|
||||
->fetchGroup('revision', 'id');
|
||||
}
|
||||
|
||||
@@ -3754,7 +3754,7 @@ class taskModel extends model
|
||||
->leftJoin(TABLE_TASK)->alias('t3')->on("t2.AType='task' AND t2.AID=t3.id")
|
||||
->where('t1.revision')->in($revisions)
|
||||
->andWhere('t1.repo')->eq($repoID)
|
||||
->andWhere('t3.id')->ne('')
|
||||
->andWhere('t3.id')->notNULL()
|
||||
->fetchGroup('revision', 'id');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user