mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-02 11:42:42 +01:00
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
This commit is contained in:
parent
aa8338c890
commit
16504ed5a7
1 changed files with 6 additions and 4 deletions
|
@ -179,6 +179,7 @@ final class PhabricatorProjectSearchEngine
|
||||||
private function getStatusOptions() {
|
private function getStatusOptions() {
|
||||||
return array(
|
return array(
|
||||||
'active' => pht('Show Only Active Projects'),
|
'active' => pht('Show Only Active Projects'),
|
||||||
|
'archived' => pht('Show Only Archived Projects'),
|
||||||
'all' => pht('Show All Projects'),
|
'all' => pht('Show All Projects'),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -186,6 +187,7 @@ final class PhabricatorProjectSearchEngine
|
||||||
private function getStatusValues() {
|
private function getStatusValues() {
|
||||||
return array(
|
return array(
|
||||||
'active' => PhabricatorProjectQuery::STATUS_ACTIVE,
|
'active' => PhabricatorProjectQuery::STATUS_ACTIVE,
|
||||||
|
'archived' => PhabricatorProjectQuery::STATUS_ARCHIVED,
|
||||||
'all' => PhabricatorProjectQuery::STATUS_ANY,
|
'all' => PhabricatorProjectQuery::STATUS_ANY,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue