Skip to content

Commit 22b078a

Browse files
committed
MAGETWO-51447: CatalogSearch Fulltext Collection not allows to use filters with multiple values
1 parent 05d2b3a commit 22b078a

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

app/code/Magento/CatalogSearch/Model/Search/TableMapper.php

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,13 @@ class TableMapper
3535
*/
3636
private $storeManager;
3737

38-
/**
39-
* @var \Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection
40-
* @deprecated
41-
*/
42-
private $attributeCollection;
43-
4438
/**
4539
* @var EavConfig
4640
*/
4741
private $eavConfig;
4842

4943
/**
44+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
5045
* @param AppResource $resource
5146
* @param StoreManagerInterface $storeManager
5247
* @param CollectionFactory $attributeCollectionFactory
@@ -60,7 +55,6 @@ public function __construct(
6055
) {
6156
$this->resource = $resource;
6257
$this->storeManager = $storeManager;
63-
$this->attributeCollection = $attributeCollectionFactory->create();
6458
$this->eavConfig = $eavConfig !== null ? $eavConfig : ObjectManager::getInstance()->get(EavConfig::class);
6559
}
6660

@@ -116,7 +110,8 @@ public function getMappingAlias(FilterInterface $filter)
116110
* 'table_alias',
117111
* 'table',
118112
* 'join_condition',
119-
* ['fields']
113+
* ['fields'],
114+
* 'joinType'
120115
* ]
121116
* @param FilterInterface $filter
122117
* @return array

0 commit comments

Comments
 (0)