Skip to content

Commit 5b80c58

Browse files
committed
Merge branch 'ACP2E-2023' of https://github.com/magento-l3/inventory into PR2-L3-09132023
2 parents 95df453 + cf71467 commit 5b80c58

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

InventoryCatalog/Model/ResourceModel/AddStockStatusToSelect.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
use Magento\InventoryIndexer\Indexer\IndexStructure;
1212
use Magento\InventoryIndexer\Model\StockIndexTableNameResolverInterface;
1313

14-
/**
15-
* Adapt adding stock status to select for Multi Stocks.
16-
*/
1714
class AddStockStatusToSelect
1815
{
1916
/**
@@ -30,6 +27,8 @@ public function __construct(StockIndexTableNameResolverInterface $stockIndexTabl
3027
}
3128

3229
/**
30+
* Adapt adding stock status to select for Multi Stocks.
31+
*
3332
* @param Select $select
3433
* @param int $stockId
3534
* @return void
@@ -41,7 +40,7 @@ public function execute(Select $select, int $stockId)
4140
$select->joinLeft(
4241
['stock_status' => $tableName],
4342
'e.sku = stock_status.sku',
44-
[IndexStructure::IS_SALABLE]
43+
[IndexStructure::IS_SALABLE => IndexStructure::IS_SALABLE]
4544
);
4645
}
4746
}

0 commit comments

Comments
 (0)