Skip to content

Commit b7f562b

Browse files
committed
Merge remote-tracking branch 'ilnytskyi/fix-price-reindex-from-temp-table' into ACP2E-1401
2 parents 6dbb7fc + f954cc6 commit b7f562b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Catalog/Model/Indexer/Product/Price/AbstractAction.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ protected function _syncData(array $processIds = [])
179179
// for backward compatibility split data from old idx table on dimension tables
180180
foreach ($this->dimensionCollectionFactory->create() as $dimensions) {
181181
$insertSelect = $this->getConnection()->select()->from(
182-
['ip_tmp' => $this->_defaultIndexerResource->getIdxTable()]
182+
['ip_tmp' => $this->_defaultIndexerResource->getIdxTable()],
183+
array_keys($this->getConnection()->describeTable($this->tableMaintainer->getMainTableByDimensions($dimensions)))
183184
);
184185

185186
foreach ($dimensions as $dimension) {

0 commit comments

Comments
 (0)