* [bug#65366,done,0.15h] fix need confirm cases range error.
This commit is contained in:
@@ -108,7 +108,10 @@ class testcaseModel extends model
|
||||
->beginIF($branch !== 'all')->andWhere('t1.branch')->eq($branch)->fi()
|
||||
->beginIF($moduleIdList)->andWhere('t1.module')->in($moduleIdList)->fi()
|
||||
->beginIF($browseType == 'wait')->andWhere('t1.status')->eq($browseType)->fi()
|
||||
->beginIF($browseType == 'needconfirm')->andWhere('t2.version > t1.version')->fi()
|
||||
->beginIF($browseType == 'needconfirm')
|
||||
->andWhere('t2.version > t1.storyVersion')
|
||||
->andWhere('t2.status')->eq('active')
|
||||
->fi()
|
||||
->beginIF($auto == 'auto' || $auto == 'unit')->andWhere('t1.auto')->eq($auto)->fi()
|
||||
->beginIF($auto != 'auto' && $auto != 'unit')->andWhere('t1.auto')->ne('unit')->fi()
|
||||
->beginIF($caseType)->andWhere('t1.type')->eq($caseType)->fi()
|
||||
|
||||
Reference in New Issue
Block a user