From 3f7f25dd8ac7314388c2b06045d1598bbf909e51 Mon Sep 17 00:00:00 2001 From: liuruogu Date: Fri, 8 Jul 2022 09:20:14 +0000 Subject: [PATCH] * Finish task #59641. --- module/block/control.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/module/block/control.php b/module/block/control.php index ec75a3c39f..95e492b722 100644 --- a/module/block/control.php +++ b/module/block/control.php @@ -1756,10 +1756,7 @@ class block extends control ->beginIF($objectType == 'story' or $objectType == 'requirement')->andWhere('t2.deleted')->eq('0')->fi() ->beginIF($objectType == 'todo')->andWhere('t1.cycle')->eq(0)->andWhere('t1.status')->eq('wait')->andWhere('t1.vision')->eq($this->config->vision)->fi() ->beginIF($objectType != 'todo')->andWhere('t1.status')->ne('closed')->fi() - ->beginIF($objectType == 'feedback') - ->andWhere('t1.status')->in('wait, noreview') - ->andWhere('t1.assignedTo')->eq($this->app->user->account) - ->fi() + ->beginIF($objectType == 'feedback')->andWhere('t1.status')->in('wait, noreview')->fi() ->orderBy($orderBy) ->beginIF($limitCount)->limit($limitCount)->fi() ->fetchAll();