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 10377fe + edd2c4c commit f2b3faeCopy full SHA for f2b3fae
app/code/Magento/Reports/Block/Adminhtml/Grid/AbstractGrid.php
@@ -303,7 +303,7 @@ public function getCountTotals()
303
304
$this->_addOrderStatusFilter($totalsCollection, $filterData);
305
306
- if (count($totalsCollection->getItems()) < 1 || !$filterData->getData('from')) {
+ if ($totalsCollection->load()->getSize() < 1 || !$filterData->getData('from')) {
307
$this->setTotals(new \Magento\Framework\Object());
308
$this->setCountTotals(false);
309
} else {
0 commit comments