-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENGCOM-4747: Fixed #22223 Missing/Wrong data display on downloadable …
…report table … #22291 - Merge Pull Request #22291 from opencommerce/magento2:2.3devPr22223 - Merged commits: 1. b881a5d 2. bf8e919 3. 0453184
- Loading branch information
Showing
1 changed file
with
7 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,16 +4,16 @@ | |
* See COPYING.txt for license details. | ||
*/ | ||
|
||
namespace Magento\Reports\Model\ResourceModel\Product\Downloads; | ||
|
||
/** | ||
* Product Downloads Report collection | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\Reports\Model\ResourceModel\Product\Downloads; | ||
|
||
/** | ||
* | ||
* @api | ||
* @since 100.0.2 | ||
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse) | ||
*/ | ||
class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection | ||
{ | ||
|
@@ -97,13 +97,11 @@ public function addFieldToFilter($field, $condition = null) | |
} | ||
return $this; | ||
} | ||
|
||
/** | ||
* Get SQL for get record count without left JOINs and group | ||
* | ||
* @return \Magento\Framework\DB\Select | ||
* @inheritDoc | ||
*/ | ||
public function getSelectCountSql() | ||
public function getSelectCountSql() | ||
{ | ||
$countSelect = parent::getSelectCountSql(); | ||
$countSelect->reset(\Zend\Db\Sql\Select::GROUP); | ||
|