* Adjust session.
This commit is contained in:
@@ -179,8 +179,8 @@ class build extends control
|
||||
$this->session->project = $build->project;
|
||||
|
||||
/* Set session and load modules. */
|
||||
if($type == 'story')$this->session->set('storyList', $this->app->getURI(true));
|
||||
if($type == 'bug') $this->session->set('bugList', $this->app->getURI(true));
|
||||
if($type == 'story')$this->session->set('storyList', $this->app->getURI(true), 'product');
|
||||
if($type == 'bug') $this->session->set('bugList', $this->app->getURI(true), 'qa');
|
||||
|
||||
$this->loadModel('story');
|
||||
$this->loadModel('bug');
|
||||
|
||||
@@ -832,7 +832,7 @@ class project extends control
|
||||
$queryID = ($type == 'bysearch') ? (int)$param : 0;
|
||||
$actionURL = $this->createLink('project', 'build', "projectID=$projectID&type=bysearch&queryID=myQueryID");
|
||||
|
||||
$executions = $this->execution->getByProject($projectID, 'all', '', true);
|
||||
$executions = $this->loadModel('execution')->getByProject($projectID, 'all', '', true);
|
||||
$this->config->build->search['fields']['execution'] = $this->project->lang->executionCommon;
|
||||
$this->config->build->search['params']['execution'] = array('operator' => '=', 'control' => 'select', 'values' => array('' => '') + $executions);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user