Merge branch 'sprint/168_tianshujie_15871' into 'sprint/168'

* Fix bug #15871.

See merge request easycorp/zentaopms!262
This commit is contained in:
李玉春
2021-11-01 08:39:12 +00:00
+5 -1
View File
@@ -1831,12 +1831,16 @@ class execution extends control
* @access public
* @return void
*/
public function kanban($executionID, $browseType = 'all', $orderBy = 'order_asc', $groupBy = 'default')
public function kanban($executionID, $browseType = '', $orderBy = 'order_asc', $groupBy = 'default')
{
if($browseType == '' and $this->session->kanbanType) $browseType = $this->session->kanbanType;
if($browseType == '' and !$this->session->kanbanType) $browseType = 'all';
/* Save to session. */
$uri = $this->app->getURI(true);
$this->app->session->set('taskList', $uri, 'execution');
$this->app->session->set('bugList', $uri, 'qa');
$this->app->session->set('kanbanType', $browseType, 'execution');
/* Load language. */
$this->app->loadLang('story');