I need som help to solve a pagination issue in the agenda view.
Lets try to describe the problem :
- $agenda_events_per_page is set to : 10,
- Today is the 31st October,
- In the "A" category there are upcoming events on 15th, 26th, 27th and 30th November.
When I display the (filtered by A) agenda I get :
- On a first (offset=0) page, only the first 2 upcoming events (15th and 26th November) + button-link to "Next events",
- On the "Next events" (offset=1) page, I get the last 2 events (27th and 30th November).
Since $agenda_events_per_page is 10, and the number of upcoming events in the A category is only 4, I would like to get the 4 events on a single page.
How can I get this ?
Thanks for help,