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

Make Project query results adhere to project status dropdown value

Summary:
Make project results by default only include active projects, which is also what is selected by default in the UI via the "Status" dropdown.

Closes T16299

Test Plan:
* Be a member of both active and archived projects
* Go to https://we.phorge.it/project/?member=yourusername, see that the search results after this patch do not include archived projects, just like the "Status" dropdown tells you

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T16299

Differential Revision: https://we.phorge.it/D26450

+2 -1
+2 -1
src/applications/project/query/PhabricatorProjectSearchEngine.php
··· 55 55 id(new PhabricatorSearchSelectField()) 56 56 ->setLabel(pht('Status')) 57 57 ->setKey('status') 58 - ->setOptions($this->getStatusOptions()), 58 + ->setOptions($this->getStatusOptions()) 59 + ->setDefault('active'), 59 60 id(new PhabricatorSearchThreeStateField()) 60 61 ->setLabel(pht('Milestones')) 61 62 ->setKey('isMilestone')