* Fix projectlist.
This commit is contained in:
@@ -448,8 +448,7 @@ class programModel extends model
|
||||
->leftJoin(TABLE_TEAM)->alias('t2')->on('t1.id=t2.root')
|
||||
->leftJoin(TABLE_STAKEHOLDER)->alias('t3')->on('t1.id=t3.objectID')
|
||||
->where('t1.deleted')->eq('0')
|
||||
->beginIF($this->config->vision == 'lite')->andWhere('t1.vision')->eq('lite')->fi()
|
||||
->beginIF($this->config->vision == 'common')->andWhere('t1.vision')->eq('common')->fi()
|
||||
->andWhere('t1.vision')->eq($this->config->vision)
|
||||
->beginIF($this->config->systemMode == 'new')->andWhere('t1.type')->eq('project')->fi()
|
||||
->beginIF($this->config->systemMode == 'new' and ($this->cookie->involved or $involved))->andWhere('t2.type')->eq('project')->fi()
|
||||
->beginIF($browseType != 'all' and $browseType != 'undone')->andWhere('t1.status')->eq($browseType)->fi()
|
||||
|
||||
Reference in New Issue
Block a user