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

Add "Authored" as a default filter to Differential

Summary: Fixes T3786. Not 100% sold on this (I don't want to restore all of the original filters, since users can and should just build the weird ones if they use them), but this is almost certainly the most useful of the defaults which ApplicationSearch removed.

Test Plan: Viewed `/differential/`, executed the query.

Reviewers: btrahan, chad

Reviewed By: chad

CC: aran

Maniphest Tasks: T3786

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

+4
+4
src/applications/differential/query/DifferentialRevisionSearchEngine.php
··· 175 175 176 176 if ($this->requireViewer()->isLoggedIn()) { 177 177 $names['active'] = pht('Active Revisions'); 178 + $names['authored'] = pht('Authored'); 178 179 } 179 180 180 181 $names['all'] = pht('All Revisions'); ··· 193 194 return $query 194 195 ->setParameter('responsiblePHIDs', array($viewer->getPHID())) 195 196 ->setParameter('status', DifferentialRevisionQuery::STATUS_OPEN); 197 + case 'authored': 198 + return $query 199 + ->setParameter('authorPHIDs', array($viewer->getPHID())); 196 200 case 'all': 197 201 return $query; 198 202 }