* [bug#56678,done,0.5h] filter non-multiple executions.

This commit is contained in:
liumengyi
2025-01-21 10:15:30 +08:00
committed by 田淑杰
parent 46633a0c60
commit b201a2d69c
+1 -1
View File
@@ -1905,7 +1905,7 @@ class executionModel extends model
if(strpos($taskQuery, "`execution` =") === false && strpos($taskQuery, "`project` =") === false) $taskQuery .= " AND `execution` = $executionID";
if(strpos($taskQuery, "`execution` = 'all'") !== false)
{
$executions = $this->loadModel('execution')->getPairs(0, 'all', "nocode,noprefix");
$executions = $this->getPairs(0, 'all', "nocode,noprefix,multiple");
$executionQuery = "`execution` " . helper::dbIN(array_keys($executions));
$taskQuery = str_replace("`execution` = 'all'", $executionQuery, $taskQuery); // Search all execution.
}