Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: leaderboards should look for missing season_key #872

Merged
merged 1 commit into from
Jul 8, 2023

Conversation

iBotPeaches
Copy link
Owner

Had a user complain they should be on the service based leaderboards.

Investigate and saw were using the old deprecated season_number key.

MariaDB [leafapp_infinite]> select id,player_id,mode,season_number,season_key,medal_count from service_records where player_id=407668;
+-------+-----------+------+---------------+------------+-------------+
| id    | player_id | mode | season_number | season_key | medal_count |
+-------+-----------+------+---------------+------------+-------------+
| 82907 |    407668 |    1 |             1 | NULL       |      145247 |
| 88481 |    407668 |    1 |             1 | 1-1        |       10746 |
| 88482 |    407668 |    1 |             1 | 1-2        |       12311 |
| 88483 |    407668 |    1 |             1 | 2-1        |       50224 |
| 88484 |    407668 |    1 |             1 | 2-2        |       37463 |
| 85719 |    407668 |    1 |             1 | 3-1        |       29966 |
| 88485 |    407668 |    1 |             1 | 4-1        |        4537 |
| 82908 |    407668 |    3 |             1 | NULL       |       16465 |
+-------+-----------+------+---------------+------------+-------------+
8 rows in set (0.001 sec)

MariaDB [leafapp_infinite]> 

@iBotPeaches iBotPeaches enabled auto-merge (squash) July 8, 2023 23:06
@iBotPeaches iBotPeaches added the bug Something isn't working label Jul 8, 2023
@iBotPeaches iBotPeaches merged commit aca83ad into master Jul 8, 2023
@iBotPeaches iBotPeaches deleted the leaderboard-fix branch July 8, 2023 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant