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 44a86cb commit 05c5ff0Copy full SHA for 05c5ff0
app/code/Magento/BundleGraphQl/Model/Resolver/Options/Collection.php
@@ -112,13 +112,15 @@ private function fetch() : array
112
113
$productTable = $optionsCollection->getTable('catalog_product_entity');
114
$linkField = $optionsCollection->getConnection()->getAutoIncrementField($productTable);
115
+ $entityIds = array_column($this->skuMap, 'entity_id');
116
+
117
$optionsCollection->getSelect()->join(
118
['cpe' => $productTable],
119
'cpe.' . $linkField . ' = main_table.parent_id',
120
[]
121
)->where(
122
"cpe.entity_id IN (?)",
- $this->skuMap
123
+ $entityIds
124
);
125
$optionsCollection->setPositionOrder();
126
0 commit comments