Skip to content

Commit

Permalink
Fix add the missing dependencies to the SortExtenion service
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Verger authored and abluchet committed Aug 31, 2018
1 parent bcbee84 commit 0f650eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Bridge/Symfony/Bundle/Resources/config/elasticsearch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@
<service id="api_platform.elasticsearch.query_extension.sort" class="ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\Extension\SortExtension" public="false">
<argument type="service" id="api_platform.metadata.resource.metadata_factory" />
<argument type="service" id="api_platform.identifiers_extractor.cached" />
<argument type="service" id="api_platform.metadata.property.metadata_factory" />
<argument type="service" id="api_platform.resource_class_resolver" />
<argument>%api_platform.collection.order%</argument>

<tag name="api_platform.elasticsearch.query_extension.collection" priority="10" />
Expand Down

0 comments on commit 0f650eb

Please sign in to comment.