* Finish task #91355.

This commit is contained in:
liumengyi
2023-04-18 11:13:30 +08:00
parent 64a0db7ff0
commit e052fbb565
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);
}
+1 -1
View File
@@ -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()