Profile

  • Guest
    0
  • Posts: 21
  • Post Likes: 3765

Notifications

  • No Unread Notifications

Change to standings tables

This thread is closed. Threads older than 6 weeks are closed automatically. To continue this discussion, create a new thread.
1
This topic has been closed by the moderator
5066 CEO & CTO
9 years 281 days ago (edited 9 years 281 days ago)
If you want to skip to what has changed, scroll to the bottom of this post. First I will explain a little background to this change.

After a recent thread highlighted teams were absent from historic standings it was brought to my attention that there was a flaw in the way standings were displayed. As I wrote in that thread:

"Jack
The reason this happened is because when a team left a league their points were set as "inactive" so that they weren't counted at the end of the season, but it would also wipe all historical standings for that team in that particular league in the process. Any teams that left the league in other words, had their historical standings erased.

I have changed the code, meaning this should not happen in future. Now, it will only wipe the points from the season that they leave the league, meaning it will keep all historical records.


In other words, it now keeps teams in the standings after they leave the league. But this created another issue, confusing standings on the league information page, with more than 16 teams showing and relegation zones being confusing and hard to interpret. So, I've made some final changes described below.

What has changed?
[list]
[*]For the current season, only teams in the league will be shown
[*]For historic seasons, all teams, including those that didn't complete the season or which have since left the league will be shown
[*]In historic standings, this may result in slightly different results, but it will show all of the historic information
[/list]
5000
9 years 281 days ago
If we left the league and returned to the same league in the same season, will we keep the points earned earlier?
5066 CEO & CTO
9 years 280 days ago
Honestly, it was so long ago that I wrote the code that I can't remember! But if my memory serves me right, then you keep the points.
This topic has been closed by the moderator
1

You must be logged in to post a reply.