Skip to content

Commit

Permalink
BUGFIX: Show correct number of items with elastic search (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
beardcoder authored and dimaip committed Feb 8, 2019
1 parent 9b3f114 commit 1d50fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Private/Fusion/PaginatedCollection.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ prototype(Flowpack.Listable:PaginatedCollection) < prototype(Neos.Fusion:Compone
elasticSearch {
condition = ${Type.instance(props.collection, 'Flowpack\ElasticSearch\ContentRepositoryAdaptor\Eel\ElasticSearchQueryBuilder')}
renderer = ${props.collection}
renderer.@process.limit = ${value.limit(limit)}
renderer.@process.limit = ${value.limit(props.itemsPerPage)}
renderer.@process.offset = ${value.from(offset)}
renderer.@process.execute = ${value.execute()}
}
Expand Down

0 comments on commit 1d50fb0

Please sign in to comment.