Skip to content

Commit de8bf7f

Browse files
committed
AC-9628
1 parent 01af133 commit de8bf7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Category/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ private function getProductsCountFromCategoryTable(Category $item, string $websi
568568
*/
569569
private function getProductsCountQuery(array $categoryIds, $addVisibilityFilter = true): Select
570570
{
571-
$connections = $this->_resource->getConnection();
571+
$connections = $this->_resource;
572572
$categoryTable = $connections->getTableName('catalog_category_product_index');
573573
$select = $this->_conn->select()
574574
->from(

0 commit comments

Comments
 (0)