mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 04:50:55 +01:00
Maniphest - load subscribers in getApplicationTransactionsObject
Summary: Fixes T6734. This is a very generic fix, which basically attaches the subscribers if necessary. This seems like a good idea given there's some crazy generic code doing this sort of thing? This would end up being a new pattern for these types of objects that may be loaded by a general object query but then get some editor action against them. Test Plan: I can't actually reproduce this in my sandbox so I'll verify live again. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T6734 Differential Revision: https://secure.phabricator.com/D10976
This commit is contained in:
parent
bc5598865f
commit
dda8e64a3e
1 changed files with 2 additions and 1 deletions
|
@ -139,7 +139,8 @@ final class HeraldManiphestTaskAdapter extends HeraldAdapter {
|
|||
case self::FIELD_ASSIGNEE:
|
||||
return $this->getTask()->getOwnerPHID();
|
||||
case self::FIELD_CC:
|
||||
return $this->getTask()->getSubscriberPHIDs();
|
||||
return PhabricatorSubscribersQuery::loadSubscribersForPHID(
|
||||
$this->getTask()->getPHID());
|
||||
case self::FIELD_PROJECTS:
|
||||
return PhabricatorEdgeQuery::loadDestinationPHIDs(
|
||||
$this->getTask()->getPHID(),
|
||||
|
|
Loading…
Reference in a new issue