Skip to content

Commit fa8fb2a

Browse files
committed
MC-17513: cataloginventory_stock_status not populated properly
1 parent 5ec74e2 commit fa8fb2a

File tree

1 file changed

+7
-0
lines changed
  • app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ protected function _updateIndex($entityIds)
322322

323323
/**
324324
* Delete records by their ids from index table
325+
*
325326
* Used to clean table before re-indexation
326327
*
327328
* @param array $ids
@@ -366,6 +367,8 @@ public function getIdxTable($table = null)
366367
}
367368

368369
/**
370+
* Get status expression
371+
*
369372
* @param AdapterInterface $connection
370373
* @param bool $isAggregate
371374
* @return mixed
@@ -391,6 +394,8 @@ protected function getStatusExpression(AdapterInterface $connection, $isAggregat
391394
}
392395

393396
/**
397+
* Get stock configuration
398+
*
394399
* @return StockConfigurationInterface
395400
*
396401
* @deprecated 100.1.0
@@ -406,6 +411,8 @@ protected function getStockConfiguration()
406411
}
407412

408413
/**
414+
* Get query processor composite
415+
*
409416
* @return QueryProcessorComposite
410417
*/
411418
private function getQueryProcessorComposite()

0 commit comments

Comments
 (0)