Skip to content

Commit

Permalink
fix: load order delivery state machine state
Browse files Browse the repository at this point in the history
  • Loading branch information
niklaswolf authored Aug 5, 2024
1 parent 9558e0d commit 5eaaecd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Service/OrderDeliveryService.php
Original file line number Diff line number Diff line change
@@ -28,6 +28,7 @@ public function getDelivery(string $orderDeliveryId, Context $context): ?OrderDe
$criteria = new Criteria([$orderDeliveryId]);
$criteria->addAssociation('order.transactions.paymentMethod');
$criteria->addAssociation('order.deliveries.shippingMethod');
$criteria->addAssociation('order.deliveries.stateMachineState');
$criteria->addAssociation('shippingMethod');
$result = $this->orderDeliveryRepository->search($criteria, $context);

0 comments on commit 5eaaecd

Please sign in to comment.