Steps to reproduce:
- Create some events in the past, present and in the future on the same or different calendars
- Click on the "agenda" button
- Click on the previous and next buttons
Expected results: The past / present and future events are shown in the respective selection. The previous and next buttons are disabled when the user reaches the end of the events.
Actual results: The future events are shown in the "today" view, and no future events appear when the button is clicked. The previous and next buttons are enabled all the time which makes the user think there are more results. They should be disabled when there are none more.
Environment: Windows 10, XWiki 10.11.3 with MySQL 5.7 and Edge 18, Calendar Application (Pro) 2.8.1


Steps to reproduce:
Expected results: The past / present and future events are shown in the respective selection. The previous and next buttons are disabled when the user reaches the end of the events.
Actual results: The future events are shown in the "today" view, and no future events appear when the button is clicked. The previous and next buttons are enabled all the time which makes the user think there are more results. They should be disabled when there are none more.
Environment: Windows 10, XWiki 10.11.3 with MySQL 5.7 and Edge 18, Calendar Application (Pro) 2.8.1