File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
app/code/Magento/CatalogSearch
Model/Adapter/Mysql/Aggregation Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,8 @@ public function __construct(
94
94
);
95
95
$ this ->indexerStockFrontendResource = $ indexerStockFrontendResource ?: ObjectManager::getInstance ()
96
96
->get (\Magento \CatalogInventory \Model \ResourceModel \Indexer \Stock \FrontendResource::class);
97
+ $ this ->stateFactory = $ stateFactory ?: ObjectManager::getInstance ()
98
+ ->get (\Magento \Indexer \Model \Indexer \StateFactory::class);
97
99
}
98
100
99
101
/**
Original file line number Diff line number Diff line change 305
305
<type name =" Magento\CatalogSearch\Model\Search\FilterMapper\TermDropdownStrategy" >
306
306
<arguments >
307
307
<argument name =" frontendResource" xsi : type =" object" >Magento\Catalog\Model\ResourceModel\Product\Indexer\Eav\FrontendResource</argument >
308
- </arguments >
309
- </type >
310
- <type name =" Magento\CatalogSearch\Model\Search\FilterMapper\TermDropdownStrategy" >
311
- <arguments >
312
308
<argument name =" indexerStockFrontendResource" xsi : type =" object" >Magento\CatalogInventory\Model\ResourceModel\Indexer\Stock\FrontendResource</argument >
313
309
</arguments >
314
310
</type >
You can’t perform that action at this time.
0 commit comments