diff --git a/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock/Grid.php b/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock/Grid.php index 653dabb71e21d..5460dab3a7ff8 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock/Grid.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock/Grid.php @@ -53,14 +53,12 @@ protected function _prepareCollection() } elseif ($store) { $storeId = (int)$store; } else { - $storeId = ''; + $storeId = null; } /** @var $collection \Magento\Reports\Model\ResourceModel\Product\Lowstock\Collection */ $collection = $this->_lowstocksFactory->create()->addAttributeToSelect( '*' - )->setStoreId( - $storeId )->filterByIsQtyProductTypes()->joinInventoryItem( 'qty' )->useManageStockFilter(