From f1d5295df3f5b11f0cd38e8dcfdbb8e5f485d035 Mon Sep 17 00:00:00 2001 From: wangyuting Date: Fri, 24 May 2024 15:57:47 +0800 Subject: [PATCH] Revert "* Fix testtask block data error. bug #50019." This reverts commit d4d985a30a5634d914b71fd63223b2c542339c57. --- module/block/zen.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/block/zen.php b/module/block/zen.php index 4fc04e0595..0dc3edeae6 100644 --- a/module/block/zen.php +++ b/module/block/zen.php @@ -624,6 +624,7 @@ class blockZen extends block ->andWhere('t1.auto')->ne('unit') ->beginIF(!$this->app->user->admin)->andWhere('t1.product')->in($this->app->user->view->products)->fi() ->beginIF(!$this->app->user->admin)->andWhere('t1.execution')->in($this->app->user->view->sprints)->fi() + ->andWhere('t1.product = t5.product') ->beginIF($block->params->type != 'all')->andWhere('t1.status')->eq($block->params->type)->fi() ->orderBy('t1.id desc') ->beginIF($this->viewType != 'json')->limit((int)$block->params->count)->fi()