fix incorrect sorting of events on team details pages
add year links to teams on event pages
fix issue with counting teams when enqueuing event details update