Skip to content

Commit bfacdfa

Browse files
authored
Fix: Added correct changes to reoder event
Signed-off-by: StPronk <stpronk@gmail.com>
1 parent 2a5d301 commit bfacdfa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Service/CardService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ public function reorder($id, $stackId, $order) {
482482
$result[$card->getOrder()] = $card;
483483
}
484484
$this->changeHelper->cardChanged($id, false);
485-
$this->eventDispatcher->dispatchTyped(new CardUpdatedEvent($card));
485+
$this->eventDispatcher->dispatchTyped(new CardUpdatedEvent($changes->getAfter(), $changes->getBefore()));
486486

487487
return array_values($result);
488488
}

0 commit comments

Comments
 (0)