* Finish task #91355.
This commit is contained in:
@@ -1929,7 +1929,7 @@ class block extends control
|
||||
|
||||
foreach($objects as $k => $task)
|
||||
{
|
||||
if(in_array($task->status, array('closed', 'cancel', 'pause'))) unset($objects[$k]);
|
||||
if(in_array($task->status, array('closed', 'cancel'))) unset($objects[$k]);
|
||||
}
|
||||
if($limitCount > 0) $objects = array_slice($objects, 0, $limitCount);
|
||||
}
|
||||
|
||||
@@ -176,7 +176,7 @@ class blockModel extends model
|
||||
->markRight(1)
|
||||
->andWhere('t1.deleted')->eq('0')
|
||||
->andWhere('t3.deleted')->eq('0')
|
||||
->andWhere('t1.status')->notin('closed,cancel,pause')
|
||||
->andWhere('t1.status')->notin('closed,cancel')
|
||||
->beginIF(!$this->app->user->admin)->andWhere('t1.execution')->in($this->app->user->view->sprints)->fi()
|
||||
->beginIF($this->config->vision)->andWhere('t1.vision')->eq($this->config->vision)->fi()
|
||||
->beginIF($this->config->vision)->andWhere('t3.vision')->eq($this->config->vision)->fi()
|
||||
|
||||
Reference in New Issue
Block a user