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:
@@ -260,6 +260,13 @@ EOREMARKUP
|
|||||||
$type = 'subscribers';
|
$type = 'subscribers';
|
||||||
$fields = $this->newEdgeTransactionFields($xaction);
|
$fields = $this->newEdgeTransactionFields($xaction);
|
||||||
break;
|
break;
|
||||||
|
case PhabricatorTransactions::TYPE_SUBTYPE:
|
||||||
|
$type = 'subtype';
|
||||||
|
$fields = array(
|
||||||
|
'old' => $xaction->getOldValue(),
|
||||||
|
'new' => $xaction->getNewValue()
|
||||||
|
);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user