* Fix executionID bug. bug #46925.

This commit is contained in:
wangyuting
2024-03-13 14:07:41 +08:00
parent 56d180544f
commit 2f84e17b7e
+3 -3
View File
@@ -126,12 +126,12 @@ class execution extends control
$this->session->set('taskList', $this->app->getURI(true), 'execution');
/* Set browse type. */
$browseType = strtolower($status);
$execution = $this->commonAction($executionID, $status);
$browseType = strtolower($status);
$execution = $this->commonAction($executionID, $status);
$executionID = $execution->id;
if($execution->type == 'kanban' && $this->config->vision != 'lite' && $this->app->getViewType() != 'json') $this->locate($this->createLink('execution', 'kanban', "executionID=$executionID"));
/* Save the recently five executions visited in the cookie. */
$executionID = $execution->id;
$this->executionZen->setRecentExecutions($executionID);
/* Append id for second sort and process the order by field. */