Skip to content

Commit e690dbc

Browse files
MAGETWO-58679: Indexers become invalid after product import
1 parent 90e71d0 commit e690dbc

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/CatalogImportExport/Model/Import

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogImportExport/Model/Import/Product.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2126,7 +2126,7 @@ protected function _saveStockItem()
21262126
$this->_connection->insertOnDuplicate($entityTable, array_values($stockData));
21272127
}
21282128

2129-
if (!$indexer->isScheduled() && $productIdsToReindex) {
2129+
if ($productIdsToReindex) {
21302130
$indexer->reindexList($productIdsToReindex);
21312131
}
21322132
}

0 commit comments

Comments
 (0)