Skip to content

Commit

Permalink
fix: load order delivery state machine state (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
niklaswolf authored Aug 6, 2024
1 parent 9558e0d commit 4faed11
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
Expand Up @@ -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);

Expand Down

0 comments on commit 4faed11

Please sign in to comment.