diff --git a/src/applications/project/controller/list/PhabricatorProjectListController.php b/src/applications/project/controller/list/PhabricatorProjectListController.php index 35f53abf17..535f62e9e5 100644 --- a/src/applications/project/controller/list/PhabricatorProjectListController.php +++ b/src/applications/project/controller/list/PhabricatorProjectListController.php @@ -36,7 +36,8 @@ final class PhabricatorProjectListController ->addFilter('owned', 'Owned') ->addSpacer() ->addLabel('All') - ->addFilter('all', 'All Projects'); + ->addFilter('all', 'All Projects') + ->addFilter('allactive','Active Projects'); $this->filter = $nav->selectFilter($this->filter, 'active'); $pager = new AphrontPagerView(); @@ -54,7 +55,7 @@ final class PhabricatorProjectListController switch ($this->filter) { case 'active': - $table_header = 'Active Projects'; + $table_header = 'Your Projects'; $query->setMembers(array($view_phid)); $query->withStatus(PhabricatorProjectQuery::STATUS_ACTIVE); break; @@ -63,6 +64,10 @@ final class PhabricatorProjectListController $query->setOwners(array($view_phid)); $query->withStatus($status_filter); break; + case 'allactive': + $status_filter = PhabricatorProjectQuery::STATUS_ACTIVE; + $table_header = 'Active Projects'; + // fallthrough case 'all': $table_header = 'All Projects'; $query->withStatus($status_filter);