Skip to content

Commit

Permalink
Merge branch '2.9.x' into 2.10.x
Browse files Browse the repository at this point in the history
  • Loading branch information
romainruaud committed Aug 4, 2020
2 parents c3bc1cb + 4131b22 commit c8e6cbb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/module-elasticsuite-catalog-graph-ql/etc/graphql/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,19 @@
<type name="Magento\CatalogGraphQl\Model\Resolver\LayerFilters">
<plugin name="search_results_aggregations" type="Smile\ElasticsuiteCatalogGraphQl\Plugin\Resolver\LayerFilters"/>
</type>

<!-- Layered navigation filtering : Aggregation building and modifying -->
<type name="\Smile\ElasticsuiteCatalog\Search\Request\Product\Aggregation\Provider\FilterableAttributes\Modifier\Coverage">
<arguments>
<argument name="coverageRequestBuilder" xsi:type="object">\Smile\ElasticsuiteCatalog\Search\Request\Product\Coverage\Builder</argument>
</arguments>
</type>

<type name="\Smile\ElasticsuiteCatalog\Search\Request\Product\Aggregation\Provider\FilterableAttributes">
<arguments>
<argument name="modifiersPool" xsi:type="array">
<item name="coverageModifier" xsi:type="object">Smile\ElasticsuiteCatalog\Search\Request\Product\Aggregation\Provider\FilterableAttributes\Modifier\Coverage</item>
</argument>
</arguments>
</type>
</config>
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class QueryBuilder
'lteq' => 'lte',
'like' => 'queryText',
'fulltext' => 'queryText',
'match' => 'queryText',
'in_set' => 'values',
];

Expand Down

0 comments on commit c8e6cbb

Please sign in to comment.