sulu / SuluArticleBundle

Bundle for managing localized content-rich entities like blog-posts in the Sulu content management system
MIT License
52 stars 77 forks source link

Add BC layer for track-total-hits #600

Closed wachterjohannes closed 2 years ago

wachterjohannes commented 2 years ago
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #599
Related issues/PRs https://github.com/symfony/recipes-contrib/pull/1314
License MIT

What's in this PR?

This PR set the parameter track_total_hits to allow pagination in the admin which Elasticsearch ^7.0

Why?

If not set until 7.0 elasticsearch limits the total in the response to 10000 because of the change of the default value.

To Do