From 16504ed5a70179ba30d79f786b7f8f03123796d7 Mon Sep 17 00:00:00 2001 From: Bob Trahan Date: Thu, 30 Apr 2015 16:06:59 -0700 Subject: [PATCH] Projects - add ability to search for "archived" status Summary: Fixes T7969. Test Plan: searched for archived project and got the archived projects Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T7969 Differential Revision: https://secure.phabricator.com/D12637 --- .../project/query/PhabricatorProjectSearchEngine.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/applications/project/query/PhabricatorProjectSearchEngine.php b/src/applications/project/query/PhabricatorProjectSearchEngine.php index 66462d5ecc..2b44d579ac 100644 --- a/src/applications/project/query/PhabricatorProjectSearchEngine.php +++ b/src/applications/project/query/PhabricatorProjectSearchEngine.php @@ -178,15 +178,17 @@ final class PhabricatorProjectSearchEngine private function getStatusOptions() { return array( - 'active' => pht('Show Only Active Projects'), - 'all' => pht('Show All Projects'), + 'active' => pht('Show Only Active Projects'), + 'archived' => pht('Show Only Archived Projects'), + 'all' => pht('Show All Projects'), ); } private function getStatusValues() { return array( - 'active' => PhabricatorProjectQuery::STATUS_ACTIVE, - 'all' => PhabricatorProjectQuery::STATUS_ANY, + 'active' => PhabricatorProjectQuery::STATUS_ACTIVE, + 'archived' => PhabricatorProjectQuery::STATUS_ARCHIVED, + 'all' => PhabricatorProjectQuery::STATUS_ANY, ); } -- 2.54.0