Skip to content

Commit dba0f6f

Browse files
committed
ACP2E-4159: Errors with duplicate entries (temp_category_descendants_%)
1 parent 47721be commit dba0f6f

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
@@ -408,7 +408,7 @@ private function getCountFromCategoryTableBulk(
408408
)
409409
->joinInner(
410410
['ce2' => $this->getTable('catalog_category_entity')],
411-
'ce2.path LIKE CONCAT(ce.path, \'/%\') OR ce2.entity_id = ce.entity_id',
411+
'ce2.path LIKE CONCAT(ce.path, \'/%\')',
412412
[]
413413
)
414414
->where('ce.entity_id IN (?)', $categoryIds);

0 commit comments

Comments
 (0)