Hi, I came across a bug with events:between having no support for pagination and limit parameters. When supplied, no items are rendered. The example from the documentation on the Statamic add-on page does not work.
The events render fine, however the pagination won't be there. Furthermore, supplying a limit parameter seems to completely break it.
{{ events:between collection="events" from="Jan 1 2022" to="March 31 2022" paginate="2" }}
{{ results }}
...entry data as explained above
{{ /results }}
{{ pagination }}
{{ if prev_page }}<a href="{{ prev_page }}">Previous</a>{{ /if }}
{{ if next_page }}<a href="{{ next_page }}">Next</a>{{ /if }}
{{ /pagination }}
{{ /events:between }}
Hi, I came across a bug with
events:betweenhaving no support for pagination and limit parameters. When supplied, no items are rendered. The example from the documentation on the Statamic add-on page does not work.The events render fine, however the pagination won't be there. Furthermore, supplying a limit parameter seems to completely break it.
{{ events:between collection="events" from="Jan 1 2022" to="March 31 2022" paginate="2" }} {{ results }} ...entry data as explained above {{ /results }} {{ pagination }} {{ if prev_page }}<a href="{{ prev_page }}">Previous</a>{{ /if }} {{ if next_page }}<a href="{{ next_page }}">Next</a>{{ /if }} {{ /pagination }} {{ /events:between }}