Skip to content

Fix historical standings#94

Merged
andschneider merged 3 commits intomainfrom
standings
Feb 27, 2026
Merged

Fix historical standings#94
andschneider merged 3 commits intomainfrom
standings

Conversation

@andschneider
Copy link
Collaborator

  • Seems like the API response changed for previous year standings so the team names weren't working. This hydrates the response with the full team model to fix it.
  • Also makes division data optional in the API so that pre-1969 standings now parses correctly. In the UI if there is no division data it falls back to the league. This closes issue Standings view breaks pre 1969 season #57

The API response started returning teams' short name, instead of the full name. This was breaking the name lookup. Hydrating the team in the API returns the full name again.
Make the division data in the API optional and then fallback to league for sorting the standings.
@andschneider andschneider merged commit 7c9a948 into main Feb 27, 2026
3 checks passed
@andschneider andschneider deleted the standings branch February 27, 2026 20:01
@andschneider andschneider linked an issue Feb 27, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Standings view breaks pre 1969 season

1 participant