* Fix bug#15280

This commit is contained in:
zenggang
2021-09-26 17:10:11 +08:00
parent 40d848f03f
commit 6798a9cb46
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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);
+1 -1
View File
@@ -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')