Answers.Body: <p>There is a <a href="https://docs.craftcms.com/v3/config/config-settings.html#maxrevisions" rel="nofollow noreferrer">maxRevisions</a> config option you might find useful:</p>
  
  <pre><code>'maxRevisions' =&gt; 10,
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-06T20:10:54.003Z
Answers.Text: yes, I've tried changing that option however it doesn't affect the revision menu UI in the CMS. It always shows only 10 revisions there.
  
  IT seems like the only way to show more than 10 revisions in the CMS is to change "limit" value in the file I mentioned above. The code looks like this there:
  
  `{% set revisions = element.find().revisionOf(element.sourceId).siteId(element.siteId).anyStatus().offset(1).limit(10).all() %}`
Answers.UserDisplayName: Tim
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-06T15:09:08.267Z
Answers.LastActivityDate: 2020-01-06T15:09:08.267Z
Answers.UserDisplayName: Jamie Wade
Body: <p>To extend the revisions limit I currently edit the "vendor/craftcms/cms/src/templates/_includes/<strong>revisionmenu.html</strong>" file. But I have to do it after each Craft CMS update.</p>
  
  <p>Is there a better way to do it, so the craft updates won't affect it?</p>
  
  <p>Thank you.</p>
  
Tags: <templating><craft3>
Title: Revisions limit
ThreadText: # Revisions limit
  
  (Asked by: username_0 on 2020-01-06)
  
  To extend the revisions limit I currently edit the "vendor/craftcms/cms/src/templates/\_includes/**revisionmenu.html**" file. But I have to do it after each Craft CMS update.
  
  Is there a better way to do it, so the craft updates won't affect it?
  
  Thank you.
  
  **Tags:** templating, craft3
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-01-06. Score: 1
  
  There is a [maxRevisions](https://docs.craftcms.com/v3/config/config-settings.html#maxrevisions) config option you might find useful:
  
  ```
  'maxRevisions' => 10,
  
  ```
  
  > **Comments:**
  > **username_0**: yes, I've tried changing that option however it doesn't affect the revision menu UI in the CMS. It always shows only 10 revisions there.  IT seems like the only way to show more than 10 revisions in the CMS is to change "limit" value in the file I mentioned above. The code looks like this there:  `{% set revisions = element.find().revisionOf(element.sourceId).siteId(element.siteId).anyStatus().offset(1).limit(10).all() %}`  
  
  ---
  
  