@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

+6 -4
+6 -4
src/applications/project/query/PhabricatorProjectSearchEngine.php
··· 178 178 179 179 private function getStatusOptions() { 180 180 return array( 181 - 'active' => pht('Show Only Active Projects'), 182 - 'all' => pht('Show All Projects'), 181 + 'active' => pht('Show Only Active Projects'), 182 + 'archived' => pht('Show Only Archived Projects'), 183 + 'all' => pht('Show All Projects'), 183 184 ); 184 185 } 185 186 186 187 private function getStatusValues() { 187 188 return array( 188 - 'active' => PhabricatorProjectQuery::STATUS_ACTIVE, 189 - 'all' => PhabricatorProjectQuery::STATUS_ANY, 189 + 'active' => PhabricatorProjectQuery::STATUS_ACTIVE, 190 + 'archived' => PhabricatorProjectQuery::STATUS_ARCHIVED, 191 + 'all' => PhabricatorProjectQuery::STATUS_ANY, 190 192 ); 191 193 } 192 194