Skip to content

Commit 47ef320

Browse files
committed
MAGETWO-88094: [ForwardPort] Configurable product reindex too slow for big amount of options
1 parent 726a5c9 commit 47ef320

File tree

1 file changed

+4
-0
lines changed
  • app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Indexer/Price

1 file changed

+4
-0
lines changed

app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Indexer/Price/Configurable.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ protected function _applyConfigurableOption()
133133
['le' => $this->getTable('catalog_product_entity')],
134134
'le.' . $linkField . ' = l.parent_id',
135135
['parent_id' => 'entity_id']
136+
)->join(
137+
['i' => $this->_getDefaultFinalPriceTable()],
138+
'le.entity_id = i.entity_id',
139+
[]
136140
);
137141

138142
$select = $connection->select();

0 commit comments

Comments
 (0)