@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.

Allow searching diffs by more status options

Summary:
This Fixes T5737. Apparently the functionality to search by different
statuses in differential was already there, but the options weren't
exposed in the frontend. I can't think of any reason why this should've
been the case, so I just added the other options.

Test Plan: Tested against some local diffs to match new query option.

Reviewers: joshuaspence, epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Maniphest Tasks: T5737

Differential Revision: https://secure.phabricator.com/D10076

authored by

Anirudh Sanjeev and committed by
epriestley
bf10b760 7aaa6329

+7 -4
+7 -4
src/applications/differential/query/DifferentialRevisionSearchEngine.php
··· 236 236 237 237 private function getStatusOptions() { 238 238 return array( 239 - DifferentialRevisionQuery::STATUS_ANY => pht('All'), 240 - DifferentialRevisionQuery::STATUS_OPEN => pht('Open'), 241 - DifferentialRevisionQuery::STATUS_CLOSED => pht('Closed'), 242 - DifferentialRevisionQuery::STATUS_ABANDONED => pht('Abandoned'), 239 + DifferentialRevisionQuery::STATUS_ANY => pht('All'), 240 + DifferentialRevisionQuery::STATUS_OPEN => pht('Open'), 241 + DifferentialRevisionQuery::STATUS_ACCEPTED => pht('Accepted'), 242 + DifferentialRevisionQuery::STATUS_NEEDS_REVIEW => pht('Needs Review'), 243 + DifferentialRevisionQuery::STATUS_NEEDS_REVISION => pht('Needs Revision'), 244 + DifferentialRevisionQuery::STATUS_CLOSED => pht('Closed'), 245 + DifferentialRevisionQuery::STATUS_ABANDONED => pht('Abandoned'), 243 246 ); 244 247 } 245 248