* Fix bug#15280
This commit is contained in:
@@ -140,6 +140,8 @@ class execution extends control
|
||||
|
||||
if(common::hasPriv('execution', 'create')) $this->lang->TRActions = html::a($this->createLink('execution', 'create'), "<i class='icon icon-sm icon-plus'></i> " . $this->lang->execution->create, '', "class='btn btn-primary'");
|
||||
|
||||
if(!isset($_SESSION['limitedExecutions'])) $this->execution->getLimitedExecution();
|
||||
|
||||
/* Set browse type. */
|
||||
$browseType = strtolower($status);
|
||||
|
||||
|
||||
@@ -1416,7 +1416,7 @@ class executionModel extends model
|
||||
|
||||
/* Get all teams of all executions and group by executions, save it as static. */
|
||||
$executions = $this->dao->select('root, limited')->from(TABLE_TEAM)
|
||||
->where('type')->in('sprint,stage')
|
||||
->where('type')->eq('execution')
|
||||
->andWhere('account')->eq($this->app->user->account)
|
||||
->andWhere('limited')->eq('yes')
|
||||
->orderBy('root asc')
|
||||
|
||||
Reference in New Issue
Block a user