Skip to content

Commit 675ea29

Browse files
MC-17919: In stock products are showing as out of stock after they are enabled via a Scheduled Update
1 parent 449cc81 commit 675ea29

File tree

1 file changed

+8
-1
lines changed
  • app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock

1 file changed

+8
-1
lines changed

app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock/DefaultStock.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,8 @@ protected function _updateIndex($entityIds)
320320
}
321321

322322
/**
323-
* Delete records by their ids from index table
323+
* Delete records by their ids from index table.
324+
*
324325
* Used to clean table before re-indexation
325326
*
326327
* @param array $ids
@@ -365,6 +366,8 @@ public function getIdxTable($table = null)
365366
}
366367

367368
/**
369+
* Get status expression
370+
*
368371
* @param AdapterInterface $connection
369372
* @param bool $isAggregate
370373
* @return mixed
@@ -390,6 +393,8 @@ protected function getStatusExpression(AdapterInterface $connection, $isAggregat
390393
}
391394

392395
/**
396+
* Get stock configuration
397+
*
393398
* @return StockConfigurationInterface
394399
*
395400
* @deprecated 100.1.0
@@ -405,6 +410,8 @@ protected function getStockConfiguration()
405410
}
406411

407412
/**
413+
* Get query processor composite
414+
*
408415
* @return QueryProcessorComposite
409416
*/
410417
private function getQueryProcessorComposite()

0 commit comments

Comments
 (0)