fix next / previous events

This commit is contained in:
isUnknown 2024-11-04 15:09:17 +01:00
parent e5e8cad6ca
commit 94cf47ee43
3 changed files with 14 additions and 9 deletions

View file

@ -82,8 +82,7 @@ return function($kirby, $page) {
}
return [
'pastEvents' => filterPastEvents($kirby->collection('ordered-season')),
'futureEvents' => filterFutureEvents($kirby->collection('ordered-season')),
'events' => splitNextAndPreviousEvents($kirby->collection('ordered-season')),
'currentSeasonSessions' => sortByMonth($currentSeasonSessions)
];
};