Skip to content

Commit 5b17bd0

Browse files
committed
MAGETWO-44118: Doesn't found bundle product
- Added int type
1 parent f32f4da commit 5b17bd0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Filter/Preprocessor.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ private function processQueryWithField(FilterInterface $filter, $isNegation, $qu
133133
$value
134134
);
135135
} else {
136-
$table = $this->resource->getTableName('catalog_product_index_eav_decimal');
136+
$tableSuffix = $attribute->getBackendType() === 'decimal' ? '_decimal' : '';
137+
$table = $this->resource->getTableName("catalog_product_index_eav{$tableSuffix}");
137138
$select = $this->connection->select();
138139

139140
$currentStoreId = $this->scopeResolver->getScope()->getId();

0 commit comments

Comments
 (0)