In summary, they get different results in edit mode vs live mode using .totalResults value.
#set($events = $calendar.findEvents(...))
$events.totalResults
So depending on the role you have, you will get an Arraylist or a PaginatedArrayList from the same Viewtool method.
This was reported by a client: https://my.dotcms.com/tickets/detail.dot?id=4e783d02-dd82-4182-b8af-2ed5fa492eaa
In summary, they get different results in edit mode vs live mode using .totalResults value.
The problem:
So depending on the role you have, you will get an Arraylist or a PaginatedArrayList from the same Viewtool method.