Closed luca-rath closed 3 years ago
Fix ArticleTeaserProvider to load more than 10 teasers and to sort them correctly.
By default, if not limit is given, elasticsearch returns no more than 10 documents. Also, elasticsearch doesn't respect the order of the ids in the ids query.
What's in this PR?
Fix ArticleTeaserProvider to load more than 10 teasers and to sort them correctly.
Why?
By default, if not limit is given, elasticsearch returns no more than 10 documents. Also, elasticsearch doesn't respect the order of the ids in the ids query.