File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
app/code/Magento/Reports/Model/ResourceModel/Product/Downloads Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ namespace Magento \Reports \Model \ResourceModel \Product \Downloads ;
8
+
7
9
/**
8
10
* Product Downloads Report collection
9
11
*
10
12
* @author Magento Core Team <core@magentocommerce.com>
11
- */
12
- namespace Magento \Reports \Model \ResourceModel \Product \Downloads ;
13
-
14
- /**
13
+ *
15
14
* @api
16
15
* @since 100.0.2
16
+ * @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
17
17
*/
18
18
class Collection extends \Magento \Catalog \Model \ResourceModel \Product \Collection
19
19
{
@@ -97,13 +97,11 @@ public function addFieldToFilter($field, $condition = null)
97
97
}
98
98
return $ this ;
99
99
}
100
-
100
+
101
101
/**
102
- * Get SQL for get record count without left JOINs and group
103
- *
104
- * @return \Magento\Framework\DB\Select
102
+ * @inheritDoc
105
103
*/
106
- public function getSelectCountSql ()
104
+ public function getSelectCountSql ()
107
105
{
108
106
$ countSelect = parent ::getSelectCountSql ();
109
107
$ countSelect ->reset (\Zend \Db \Sql \Select::GROUP );
You can’t perform that action at this time.
0 commit comments