diff --git a/module/execution/view/ajaxgetdropmenu.html.php b/module/execution/view/ajaxgetdropmenu.html.php
index d504cfd1a3..9b3d5afaf2 100644
--- a/module/execution/view/ajaxgetdropmenu.html.php
+++ b/module/execution/view/ajaxgetdropmenu.html.php
@@ -71,6 +71,7 @@ foreach($executions as $projectID => $projectExecutions)
if($executionCounts[$projectID]['others']) $normalExecutionsHtml .= '
';
if($executionCounts[$projectID]['closed']) $closedExecutionsHtml .= '';
}
+
foreach($projectExecutions as $index => $execution)
{
$kanbanLink = $this->createLink('execution', 'kanban', "executionID=%s");
@@ -108,11 +109,7 @@ foreach($executions as $projectID => $projectExecutions)
}
}
}
- elseif($execution->grade == 2 and $execution->parent != $execution->project)
- {
- continue;
- }
- else
+ elseif($execution->grade ==1)
{
if($execution->status != 'done' and $execution->status != 'closed' and ($execution->PM == $this->app->user->account or isset($execution->teams[$this->app->user->account])))
{