mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 16:22:43 +01:00
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
This commit is contained in:
parent
3f53718d10
commit
acb145b3d7
2 changed files with 29 additions and 0 deletions
|
@ -13,4 +13,18 @@ final class ManiphestTaskHasDuplicateTaskEdgeType
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getConduitKey() {
|
||||||
|
return 'task.merged-in';
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getConduitName() {
|
||||||
|
return pht('Merged In');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getConduitDescription() {
|
||||||
|
return pht(
|
||||||
|
'The source task has had the destination task closed as a '.
|
||||||
|
'duplicate and merged into it.');
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,4 +13,19 @@ final class ManiphestTaskIsDuplicateOfTaskEdgeType
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getConduitKey() {
|
||||||
|
return 'task.duplicate';
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getConduitName() {
|
||||||
|
return pht('Closed as Duplicate');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getConduitDescription() {
|
||||||
|
return pht(
|
||||||
|
'The source task has been closed as a duplicate of the '.
|
||||||
|
'destination task.');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue