From f2319c9689a5571427dc8ed1a85b290e97797d61 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 6 Jun 2014 14:34:38 +0600 Subject: [PATCH] Don't show archived projects in maniphest sidebar --- src/applications/maniphest/controller/ManiphestController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/applications/maniphest/controller/ManiphestController.php b/src/applications/maniphest/controller/ManiphestController.php index ad130ffd1d..7163ed08d2 100644 --- a/src/applications/maniphest/controller/ManiphestController.php +++ b/src/applications/maniphest/controller/ManiphestController.php @@ -69,6 +69,9 @@ abstract class ManiphestController extends PhabricatorController { $project_ids = array($hide_item_id); foreach ($projects as $project) { + if ($project->isArchived()) { + continue; + } $url = 'project/' . $project->getID(); $name = $project->getName(); $is_hide = !in_array($name, $this->alwaysVisibleProjects);