Skip to content

Commit

Permalink
Fixed #22223 Missing/Wrong data display on downloadable report table …
Browse files Browse the repository at this point in the history
…reports>downloads in BO
  • Loading branch information
Shikha Mishra authored Apr 11, 2019
1 parent 9cdc1b7 commit b881a5d
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,15 @@ 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 b881a5d

Please sign in to comment.