Skip to content

Commit f2b3fae

Browse files
author
Roman Ganin
committed
Merge remote-tracking branch 'origin/MAGETWO-37819' into Troll_S40_bugfix
2 parents 10377fe + edd2c4c commit f2b3fae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Reports/Block/Adminhtml/Grid/AbstractGrid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public function getCountTotals()
303303

304304
$this->_addOrderStatusFilter($totalsCollection, $filterData);
305305

306-
if (count($totalsCollection->getItems()) < 1 || !$filterData->getData('from')) {
306+
if ($totalsCollection->load()->getSize() < 1 || !$filterData->getData('from')) {
307307
$this->setTotals(new \Magento\Framework\Object());
308308
$this->setCountTotals(false);
309309
} else {

0 commit comments

Comments
 (0)