Skip to content

Commit 84590de

Browse files
slavvkavpodorozh
authored andcommitted
ENGCOM-3292 catalog:images:resize total images count calculates incorrectly #18387: #18807
(cherry picked from commit e1a1c7b)
1 parent 95eeb9f commit 84590de

File tree

1 file changed

+5
-2
lines changed
  • app/code/Magento/Catalog/Model/ResourceModel/Product

1 file changed

+5
-2
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Product/Image.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
use Magento\Framework\DB\Select;
1313
use Magento\Framework\App\ResourceConnection;
1414

15-
/**
16-
* Class for fast retrieval of all product images
15+
/*
16+
* Class for retrieval of all product images
1717
*/
1818
class Image
1919
{
@@ -76,6 +76,7 @@ public function getAllProductImages(): \Generator
7676

7777
/**
7878
* Get the number of unique pictures of products
79+
*
7980
* @return int
8081
*/
8182
public function getCountAllProductImages(): int
@@ -91,6 +92,8 @@ public function getCountAllProductImages(): int
9192
}
9293

9394
/**
95+
* Return Select to fetch all products images
96+
*
9497
* @return Select
9598
*/
9699
private function getVisibleImagesSelect(): Select

0 commit comments

Comments
 (0)