We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82ad803 commit 306ab9dCopy full SHA for 306ab9d
app/code/Magento/Catalog/Model/ResourceModel/Product/Relation.php
@@ -159,7 +159,7 @@ public function getRelationsByChildren(array $childrenIds): array
159
$parentIdsOfChildIds = [];
160
161
foreach ($result as $row) {
162
- $parentIdsOfChildIds[$row['child_id']][] = $row['parent_id'];
+ $parentIdsOfChildIds[$row['child_id']][] = $row['entity_id'];
163
}
164
165
return $parentIdsOfChildIds;
0 commit comments