* code for task #44321.

This commit is contained in:
王怡栋
2021-11-18 11:20:39 +08:00
parent fc50ece3e2
commit 3510f6ef63
7 changed files with 93 additions and 10 deletions
+1 -1
View File
@@ -1511,7 +1511,7 @@ class bugModel extends model
->beginIF(!empty($productID))->andWhere('product')->eq($productID)->fi()
->beginIF($type == 'unresolved')->andWhere('status')->eq('active')->fi()
->beginIF($type == 'noclosed')->andWhere('status')->ne('closed')->fi()
->beginIF($type == 'assigntome')->andWhere('assignedTo')->eq($this->app->user->account)->fi()
->beginIF($type == 'assignedtome')->andWhere('assignedTo')->eq($this->app->user->account)->fi()
->beginIF($type == 'openedbyme')->andWhere('openedBy')->eq($this->app->user->account)->fi()
->beginIF($build)->andWhere("CONCAT(',', openedBuild, ',') like '%,$build,%'")->fi()
->beginIF($excludeBugs)->andWhere('id')->notIN($excludeBugs)->fi()