NumberToDisplay isn't used in default blog archive widget
albanyacademy opened this issue · 1 comments
albanyacademy commented
To replicate:
- Have more than 1 blog post in a blog
- Make a blog archive widget and set Number To Display field to "1"
- Observe that it doesn't impact the number of looped items (year or month + year)
You can workaround by overriding the SS template and writing
<% loop $Archive.Limit($NumberToDisplay) %>
which works.
All of the other widgets that have a limit field look to have a limit applied to the result.
robbieaverill commented
Thanks for raising the issue. Would you like to make a pull request to add that workaround to the default template in this module?