mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 06:42:42 +01:00
Correct rendering of workboard column move feed stories when a single transaction performs moves on multiple boards
Summary: If a single transaction performs column moves on multiple different boards (which is permitted in the API), the rendering logic in the feed currently fails. Make it render properly. Same fix as rPa3f4cbd7484b591425e83bbfc7642bccb04d0d57 for `getTitle()` which left out also fixing `getTitleForFeed()`. Test Plan: Carefully read the if/else logic. Reviewers: O1 Blessed Committers, avivey Reviewed By: O1 Blessed Committers, avivey Subscribers: avivey, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D25646
This commit is contained in:
parent
290f3d63c5
commit
c769125e90
1 changed files with 2 additions and 0 deletions
|
@ -1475,6 +1475,8 @@ abstract class PhabricatorApplicationTransaction
|
|||
} else {
|
||||
$fragments = array();
|
||||
foreach ($moves as $move) {
|
||||
$to_column = $move['columnPHID'];
|
||||
$board_phid = $move['boardPHID'];
|
||||
$fragments[] = pht(
|
||||
'%s (%s)',
|
||||
$this->renderHandleLink($board_phid),
|
||||
|
|
Loading…
Reference in a new issue