We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47721be commit dba0f6fCopy full SHA for dba0f6f
app/code/Magento/Catalog/Model/ResourceModel/Category/Collection.php
@@ -408,7 +408,7 @@ private function getCountFromCategoryTableBulk(
408
)
409
->joinInner(
410
['ce2' => $this->getTable('catalog_category_entity')],
411
- 'ce2.path LIKE CONCAT(ce.path, \'/%\') OR ce2.entity_id = ce.entity_id',
+ 'ce2.path LIKE CONCAT(ce.path, \'/%\')',
412
[]
413
414
->where('ce.entity_id IN (?)', $categoryIds);
0 commit comments