* code for task #44319.
This commit is contained in:
@@ -1511,6 +1511,8 @@ 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 == 'openedbyme')->andWhere('openedBy')->eq($this->app->user->account)->fi()
|
||||
->beginIF($build)->andWhere("CONCAT(',', openedBuild, ',') like '%,$build,%'")->fi()
|
||||
->beginIF($excludeBugs)->andWhere('id')->notIN($excludeBugs)->fi()
|
||||
->orderBy($orderBy)->page($pager)->fetchAll();
|
||||
|
||||
Reference in New Issue
Block a user