* [bug#55796] Reset the stage list of epic and requirement for build search form.
This commit is contained in:
@@ -794,13 +794,7 @@ class productModel extends model
|
||||
}
|
||||
|
||||
/* Reset the stage list for epic and requirement. */
|
||||
if(in_array($storyType, array('epic', 'requirement')))
|
||||
{
|
||||
$epicStageList = array();
|
||||
$epicStages = array('wait', 'planned', 'projected', 'developing', 'delivering', 'delivered', 'closed');
|
||||
foreach($epicStages as $stageName) $epicStageList[$stageName] = $this->lang->story->stageList[$stageName];
|
||||
$searchConfig['params']['stage']['values'] = $epicStageList;
|
||||
}
|
||||
if($storyType != 'all') $searchConfig['params']['stage']['values'] = $this->lang->$storyType->stageList;
|
||||
|
||||
$this->loadModel('search')->setSearchParams($searchConfig);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user