Skip to content

Commit 7569b08

Browse files
author
mastiuhin-olexandr
committed
MC-33288: [2.4][MSI][MFTF] StorefrontLoggedInCustomerCreateOrderAllOptionQuantityConfigurableProductCustomStockTest fails because of bad design
1 parent eb55744 commit 7569b08

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Model/ResourceModel/Product

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Product/Relation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public function getRelationsByChildren(array $childrenIds): array
152152
)->join(
153153
['relation' => $this->getTable('catalog_product_relation')],
154154
'relation.parent_id = cpe.' . $linkField
155-
)->where('child_id IN(?)', $childrenIds);
155+
)->where('relation.child_id IN(?)', $childrenIds);
156156

157157
return $connection->fetchCol($select);
158158
}

0 commit comments

Comments
 (0)