Skip to content

Commit d9239cf

Browse files
committed
mitigate issue where magento 2 is dropping during during price indexing
1 parent bc1c7ba commit d9239cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogInventory/Model/Plugin/ProductLinks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function __construct(Configuration $configuration, Stock $stockHelper)
4444
public function afterGetProductCollection(Link $subject, Collection $collection)
4545
{
4646
if ($this->configuration->isShowOutOfStock() != 1) {
47-
$this->stockHelper->addInStockFilterToCollection($collection);
47+
$this->stockHelper->addIsInStockFilterToCollection($collection);
4848
}
4949
return $collection;
5050
}

0 commit comments

Comments
 (0)