fix next / previous events
This commit is contained in:
parent
e5e8cad6ca
commit
94cf47ee43
3 changed files with 14 additions and 9 deletions
|
|
@ -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)
|
||||
];
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue