Skip to content

Commit 65c5b18

Browse files
committed
MAGETWO-71398: Attribute values on store view level not searchable
- Remove placeholder from SQL request;
1 parent c650f17 commit 65c5b18

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,7 @@ public function getProductAttributes($storeId, array $productIds, array $attribu
333333
'cpe.' . $linkField . ' IN (?)',
334334
array_keys($productLinkFieldsToEntityIdMap)
335335
)->where(
336-
'cpe_type.attribute_id IS NOT NULL OR cpe_type_default.attribute_id IS NOT NULL',
337-
array_keys($productLinkFieldsToEntityIdMap)
336+
'cpe_type.attribute_id IS NOT NULL OR cpe_type_default.attribute_id IS NOT NULL'
338337
)->columns(
339338
[
340339
$linkField => 'cpe.' . $linkField,

0 commit comments

Comments
 (0)