* Fix bug #47138.
This commit is contained in:
@@ -2484,7 +2484,7 @@ class storyModel extends model
|
||||
->beginIF($type != 'closedBy' and $this->app->moduleName == 'block')->andWhere('t1.status')->ne('closed')->fi()
|
||||
->beginIF($type != 'all')
|
||||
->beginIF($type == 'assignedTo')->andWhere('t1.assignedTo')->eq($account)->fi()
|
||||
->beginIF($type == 'reviewBy')->andWhere('t3.reviewer')->eq($account)->andWhere('t3.result')->eq('')->andWhere('t1.status')->in('reviewing,changing')->fi()
|
||||
->beginIF($type == 'reviewBy')->andWhere('t3.reviewer')->eq($account)->andWhere('t3.result')->eq('')->andWhere('t1.status')->in('reviewing')->fi()
|
||||
->beginIF($type == 'openedBy')->andWhere('t1.openedBy')->eq($account)->fi()
|
||||
->beginIF($type == 'reviewedBy')->andWhere("CONCAT(',', t1.reviewedBy, ',')")->like("%,$account,%")->fi()
|
||||
->beginIF($type == 'closedBy')->andWhere('t1.closedBy')->eq($account)->fi()
|
||||
|
||||
Reference in New Issue
Block a user