@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

Allow duplicates and merged-in tasks to be queried with `edge.search`

Summary: See PHI147.

Test Plan: Called the method from the web UI, got sensible results.

Reviewers: amckinley

Reviewed By: amckinley

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

+29
+14
src/applications/maniphest/edge/ManiphestTaskHasDuplicateTaskEdgeType.php
··· 13 13 return true; 14 14 } 15 15 16 + public function getConduitKey() { 17 + return 'task.merged-in'; 18 + } 19 + 20 + public function getConduitName() { 21 + return pht('Merged In'); 22 + } 23 + 24 + public function getConduitDescription() { 25 + return pht( 26 + 'The source task has had the destination task closed as a '. 27 + 'duplicate and merged into it.'); 28 + } 29 + 16 30 }
+15
src/applications/maniphest/edge/ManiphestTaskIsDuplicateOfTaskEdgeType.php
··· 13 13 return true; 14 14 } 15 15 16 + public function getConduitKey() { 17 + return 'task.duplicate'; 18 + } 19 + 20 + public function getConduitName() { 21 + return pht('Closed as Duplicate'); 22 + } 23 + 24 + public function getConduitDescription() { 25 + return pht( 26 + 'The source task has been closed as a duplicate of the '. 27 + 'destination task.'); 28 + } 29 + 30 + 16 31 }