Skip to content

Commit

Permalink
MOL-1196: add shipping method for tracking url (#686)
Browse files Browse the repository at this point in the history
Co-authored-by: Vitalij Mik <[email protected]>
  • Loading branch information
BlackScorp and Vitalij Mik authored Jan 16, 2024
1 parent 1900474 commit 5d763dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/OrderDeliveryService.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function getDelivery(string $orderDeliveryId, Context $context): ?OrderDe
{
$criteria = new Criteria([$orderDeliveryId]);
$criteria->addAssociation('order.transactions.paymentMethod');
$criteria->addAssociation('order.deliveries');
$criteria->addAssociation('order.deliveries.shippingMethod');
$criteria->addAssociation('shippingMethod');
$result = $this->orderDeliveryRepository->search($criteria, $context);

Expand Down

0 comments on commit 5d763dd

Please sign in to comment.