From 6e2b3acd8080279e644beec845b5a383ddc093c8 Mon Sep 17 00:00:00 2001 From: zhouxudong Date: Tue, 28 Jun 2022 01:08:01 +0000 Subject: [PATCH] * Finish task #58575. --- module/execution/control.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/module/execution/control.php b/module/execution/control.php index 861b3526e8..cc1634ba14 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -2913,15 +2913,12 @@ class execution extends control /* Get projects, executions and products. */ $object = $this->project->getByID($objectID, $this->app->tab == 'project' ? 'project' : 'sprint,stage,kanban'); $products = $this->product->getProducts($objectID); + $queryID = ($browseType == 'bySearch') ? (int)$param : 0; + $browseLink = $this->session->executionStoryList; if($this->app->tab == 'project') { $browseLink = $this->createLink('projectstory', 'story', "objectID=$objectID"); } - else - { - $browseLink = $this->session->executionStoryList; - } - $queryID = ($browseType == 'bySearch') ? (int)$param : 0; $this->session->set('storyList', $this->app->getURI(true), $this->app->tab); // Save session.