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.
1 parent 2bc3abe commit edd2c4cCopy full SHA for edd2c4c
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