* Code for fix bug 32562.
This commit is contained in:
@@ -2633,7 +2633,6 @@ class execution extends control
|
||||
$this->session->set('execGroupBy', $groupBy);
|
||||
$this->session->set('storyList', $this->app->getURI(true), 'execution');
|
||||
$this->session->set('rdSearchValue', '');
|
||||
$this->session->set('execLaneType', $browseType);
|
||||
|
||||
$features = $this->execution->getExecutionFeatures($execution);
|
||||
$kanbanData = $this->loadModel('kanban')->getRDKanban($executionID, $browseType, $orderBy, 0, $groupBy);
|
||||
@@ -2643,6 +2642,11 @@ class execution extends control
|
||||
if($this->execution->isClickable($execution, $action)) $executionActions[] = $action;
|
||||
}
|
||||
|
||||
/* Set lane type. */
|
||||
if(!$features['story'] and !$features['qa']) $browseType = 'task';
|
||||
if(!$features['story']) unset($this->lang->kanban->group->task['story']);
|
||||
$this->session->set('execLaneType', $browseType);
|
||||
|
||||
$userList = array();
|
||||
$users = $this->loadModel('user')->getPairs('noletter|nodeleted');
|
||||
$avatarPairs = $this->user->getAvatarPairs('all');
|
||||
|
||||
@@ -215,7 +215,7 @@ $('.c-group').change(function()
|
||||
{
|
||||
$('.c-group').show();
|
||||
|
||||
var type = $('#type').val();
|
||||
var type = $('#type').val() ? $('#type').val() : browseType;
|
||||
var group = $('#group').val();
|
||||
var link = createLink('execution', 'kanban', 'executionID=' + executionID + '&type=' + type + '&orderBy=id_asc' + '&groupBy=' + group);
|
||||
location.href = link;
|
||||
|
||||
Reference in New Issue
Block a user