We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 61877da + a7ac673 commit 61d8ea6Copy full SHA for 61d8ea6
app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock/Grid.php
@@ -53,14 +53,12 @@ protected function _prepareCollection()
53
} elseif ($store) {
54
$storeId = (int)$store;
55
} else {
56
- $storeId = '';
+ $storeId = null;
57
}
58
59
/** @var $collection \Magento\Reports\Model\ResourceModel\Product\Lowstock\Collection */
60
$collection = $this->_lowstocksFactory->create()->addAttributeToSelect(
61
'*'
62
- )->setStoreId(
63
- $storeId
64
)->filterByIsQtyProductTypes()->joinInventoryItem(
65
'qty'
66
)->useManageStockFilter(
0 commit comments