diff --git a/CHANGELOG-v3.md b/CHANGELOG-v3.md index c02332d5a94..1033befa48d 100644 --- a/CHANGELOG-v3.md +++ b/CHANGELOG-v3.md @@ -10,6 +10,7 @@ - Fixed a bug where the `siteName` config setting wasn’t working as expected when set to an array. ([#2968](https://github.com/craftcms/cms/issues/2968)) - Fixed a bug where it was not possible to order search results by search score, if the element type didn’t specify any sort options. - Fixed a bug where clicking on “Date Created” and “Date Updated” column headers on element indexes wouldn’t update the sort order. ([#2975](https://github.com/craftcms/cms/issues/2975)) +- Fixed a bug where Edit Entry pages were listing more than the 10 most recent versions. ([#2976](https://github.com/craftcms/cms/issues/2976)) ## 3.0.10.2 - 2018-06-07 diff --git a/src/templates/entries/_revisions.html b/src/templates/entries/_revisions.html index 29e80aba0aa..50fba456118 100644 --- a/src/templates/entries/_revisions.html +++ b/src/templates/entries/_revisions.html @@ -64,7 +64,7 @@
{{ "Drafts"|t('app') }}
{% endif %} {% if section.enableVersioning %} - {% set versions = craft.app.entryRevisions.getVersionsByEntryId(entry.id, entry.siteId) %} + {% set versions = craft.app.entryRevisions.getVersionsByEntryId(entry.id, entry.siteId, 10) %} {% if versions %}
{{ "Recent Versions"|t('app') }}