* Add empty option for execution Drop-down selection.
This commit is contained in:
@@ -154,7 +154,7 @@ class doc extends control
|
||||
$objects = $this->project->getPairsByProgram();
|
||||
if($this->app->tab == 'doc')
|
||||
{
|
||||
$this->view->executionPairs = $this->execution->getPairs($objectID, 'all', 'multiple,leaf,noprefix');
|
||||
$this->view->executionPairs = $this->execution->getPairs($objectID, 'all', 'multiple,leaf,noprefix,empty');
|
||||
$this->view->project = $this->project->getById($objectID);
|
||||
}
|
||||
}
|
||||
@@ -1448,7 +1448,7 @@ class doc extends control
|
||||
public function ajaxGetExecution($projectID)
|
||||
{
|
||||
$executions = $this->execution->getList($projectID);
|
||||
$executionPairs = array(0 => '') + $this->execution->getPairs($projectID, 'all', 'multiple,leaf,noprefix');
|
||||
$executionPairs = array(0 => '') + $this->execution->getPairs($projectID, 'all', 'multiple,leaf,noprefix,empty');
|
||||
|
||||
$project = $this->project->getById($projectID);
|
||||
$disabled = $project->multiple ? '' : 'disabled';
|
||||
|
||||
@@ -1606,7 +1606,7 @@ class executionModel extends model
|
||||
*
|
||||
* @param int $projectID
|
||||
* @param string $type all|sprint|stage|kanban
|
||||
* @param string $mode all|noclosed|stagefilter|withdelete|multiple|leaf|order_asc or empty
|
||||
* @param string $mode all|noclosed|stagefilter|withdelete|multiple|leaf|order_asc|empty|noprefix
|
||||
* @access public
|
||||
* @return array
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user