Skip to content

Commit 61d8ea6

Browse files
MAGETWO-88116: [Backport-2.2] of PR-#10935 Fix LowStock report in All Websites view #13682
2 parents 61877da + a7ac673 commit 61d8ea6

File tree

1 file changed

+1
-3
lines changed
  • app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock

1 file changed

+1
-3
lines changed

app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock/Grid.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,12 @@ protected function _prepareCollection()
5353
} elseif ($store) {
5454
$storeId = (int)$store;
5555
} else {
56-
$storeId = '';
56+
$storeId = null;
5757
}
5858

5959
/** @var $collection \Magento\Reports\Model\ResourceModel\Product\Lowstock\Collection */
6060
$collection = $this->_lowstocksFactory->create()->addAttributeToSelect(
6161
'*'
62-
)->setStoreId(
63-
$storeId
6462
)->filterByIsQtyProductTypes()->joinInventoryItem(
6563
'qty'
6664
)->useManageStockFilter(

0 commit comments

Comments
 (0)