Skip to content

Commit be34777

Browse files
committed
MAGETWO-75786: Incorrect count for category filter at layered navigation for configurable with no available options
1 parent edc6e84 commit be34777

File tree

2 files changed

+0
-2
lines changed
  • app/code/Magento
    • CatalogSearch/Model/Indexer/Fulltext/Action
    • Catalog/Model/Indexer/Product/Category/Action

2 files changed

+0
-2
lines changed

app/code/Magento/Catalog/Model/Indexer/Product/Category/Action/Rows.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ private function getProductIdsWithParents(array $childProductIds)
114114
->from(['relation' => $this->getTable('catalog_product_relation')], [])
115115
->distinct(true)
116116
->where('child_id IN (?)', $childProductIds)
117-
->where('parent_id NOT IN (?)', $childProductIds)
118117
->join(
119118
['cpe' => $this->getTable('catalog_product_entity')],
120119
'relation.parent_id = cpe.' . $fieldForParent,

app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/Full.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,6 @@ protected function getProductIdsFromParents(array $entityIds)
318318
)
319319
->distinct(true)
320320
->where('child_id IN (?)', $entityIds)
321-
->where('parent_id NOT IN (?)', $entityIds)
322321
->join(
323322
['cpe' => $this->getTable('catalog_product_entity')],
324323
'relation.parent_id = cpe.' . $linkField,

0 commit comments

Comments
 (0)