Skip to content
Snippets Groups Projects
Commit 36c93180 authored by Nadiya Syvokonenko's avatar Nadiya Syvokonenko
Browse files

MAGETWO-47400: Fix L3

parent da2c06b0
Branches
No related merge requests found
......@@ -68,7 +68,12 @@ class Grouped extends \Magento\CatalogInventory\Model\ResourceModel\Indexer\Stoc
);
// add limitation of status
$productStatusExpr = $this->_addAttributeToSelect($select, 'status', 'e.' . $metadata->getLinkField(), 'cs.store_id');
$productStatusExpr = $this->_addAttributeToSelect(
$select,
'status',
'e.' . $metadata->getLinkField(),
'cs.store_id'
);
$productStatusCond = $connection->quoteInto($productStatusExpr . '=?', ProductStatus::STATUS_ENABLED);
if ($this->_isManageStock()) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment