Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ArticleTeaserProvider #591

Merged

Conversation

luca-rath
Copy link
Contributor

@luca-rath luca-rath commented Aug 5, 2021

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets -
Related issues/PRs -
License MIT

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.

@alexander-schranz alexander-schranz merged commit aec29c8 into sulu:1.2 Aug 5, 2021
@luca-rath luca-rath deleted the bugfix/article-teaser-provider branch August 5, 2021 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants