From 99889da4997964d4032d269f869fb60dc503a7ac Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 2 Nov 2022 09:27:14 +0800 Subject: [PATCH] * code for task #74781. --- module/doc/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/doc/model.php b/module/doc/model.php index a252af2d90..7ad0365d60 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -1569,6 +1569,7 @@ class docModel extends model $executions = $this->dao->select('*')->from(TABLE_EXECUTION) ->where('deleted')->eq(0) ->andWhere('type')->in('sprint,stage,kanban') + ->andWhere('multiple')->eq('1') ->andWhere('vision')->eq($this->config->vision) ->beginIF(!$this->app->user->admin)->andWhere('id')->in($this->app->user->view->sprints)->fi() ->orderBy('order_asc')