* Task 42862,previously committed to the master branch, now resubmit to the 165 branch
This commit is contained in:
@@ -986,7 +986,7 @@ class executionModel extends model
|
||||
*
|
||||
* @param int $projectID
|
||||
* @param string $type all|sprint|stage|kanban
|
||||
* @param string $mode all|noclosed or empty
|
||||
* @param string $mode all|noclosed|stagefilter or empty
|
||||
* @access public
|
||||
* @return array
|
||||
*/
|
||||
@@ -1024,6 +1024,7 @@ class executionModel extends model
|
||||
foreach($executions as $execution)
|
||||
{
|
||||
if(strpos($mode, 'noclosed') !== false and ($execution->status == 'done' or $execution->status == 'closed')) continue;
|
||||
if(strpos($mode, 'stagefilter') !== false and isset($executionModel) and $executionModel == 'waterfall' and in_array($execution->attribute, array('request', 'design', 'review'))) continue; // Some stages of waterfall not need.
|
||||
$pairs[$execution->id] = $execution->name;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user