Skip to content

Commit

Permalink
ENGCOM-4747: Fixed #22223 Missing/Wrong data display on downloadable …
Browse files Browse the repository at this point in the history
…report table … #22291

 - Merge Pull Request #22291 from opencommerce/magento2:2.3devPr22223
 - Merged commits:
   1. b881a5d
   2. bf8e919
  • Loading branch information
magento-engcom-team committed Apr 13, 2019
2 parents 810780b + bf8e919 commit 18d1853
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,16 @@ public function addFieldToFilter($field, $condition = null)
}
return $this;
}

/**
* Get SQL for get record count without left JOINs and group
*
* @return \Magento\Framework\DB\Select
*/
public function getSelectCountSql()
{
$countSelect = parent::getSelectCountSql();
$countSelect->reset(\Zend\Db\Sql\Select::GROUP);
return $countSelect;
}
}

0 comments on commit 18d1853

Please sign in to comment.