From 5a98197d00d64123f80b1f50e06500a8acdf11b5 Mon Sep 17 00:00:00 2001 From: Yagami Date: Tue, 7 Feb 2023 17:02:51 +0800 Subject: [PATCH] * Add deleted condition. --- module/execution/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/execution/model.php b/module/execution/model.php index ed84b7d7ca..a1d47fe906 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -1327,6 +1327,7 @@ class executionModel extends model /* If mode == leaf, only show leaf executions. */ $allExecutions = $this->dao->select('id,name,parent')->from(TABLE_EXECUTION) ->where('type')->notin(array('program', 'project')) + ->andWhere('deleted')->eq('0') ->beginIf($projectID)->andWhere('project')->eq($projectID)->fi() ->fetchAll('id');