Fix subtype transaction data missing.

Test plan: change type of a task, check
with transaction.search the transaction
data exists.
This commit is contained in:
Nathan Letwory
2020-02-27 23:35:30 +02:00
parent 9da2ec1e8e
commit bced48185b

View File

@@ -260,6 +260,13 @@ EOREMARKUP
$type = 'subscribers';
$fields = $this->newEdgeTransactionFields($xaction);
break;
case PhabricatorTransactions::TYPE_SUBTYPE:
$type = 'subtype';
$fields = array(
'old' => $xaction->getOldValue(),
'new' => $xaction->getNewValue()
);
break;
}
}