From 89f25d447dccada07e7f622511a4eb2cc965cf3f Mon Sep 17 00:00:00 2001 From: tianshujie Date: Thu, 26 Aug 2021 17:38:39 +0800 Subject: [PATCH] * Add return session to statistical report. --- module/report/control.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/module/report/control.php b/module/report/control.php index 22b9a431d9..1c8589672b 100644 --- a/module/report/control.php +++ b/module/report/control.php @@ -80,6 +80,7 @@ class report extends control $this->app->loadLang('story'); $this->app->loadLang('product'); $this->app->loadLang('productplan'); + $this->session->set('productList', $this->app->getURI(true), 'product'); $this->view->title = $this->lang->report->productSummary; $this->view->position[] = $this->lang->report->productSummary; @@ -128,6 +129,8 @@ class report extends control */ public function bugAssign() { + $this->session->set('productList', $this->app->getURI(true), 'product'); + $this->view->title = $this->lang->report->bugAssign; $this->view->position[] = $this->lang->report->bugAssign; $this->view->submenu = 'test'; @@ -163,6 +166,8 @@ class report extends control } $this->app->loadConfig('execution'); + $this->session->set('executionList', $this->app->getURI(true), 'execution'); + $begin = $begin ? strtotime($begin) : time(); $end = $end ? strtotime($end) : time() + (7 * 24 * 3600); $end += 24 * 3600;