* Add deleted condition.

This commit is contained in:
Yagami
2023-02-07 17:02:51 +08:00
parent 3f6df5c09e
commit 5a98197d00
+1
View File
@@ -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');