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

Game History Order #4

Closed
petrifiedroadkill opened this issue Sep 27, 2020 · 2 comments
Closed

Game History Order #4

petrifiedroadkill opened this issue Sep 27, 2020 · 2 comments

Comments

@petrifiedroadkill
Copy link
Collaborator

Game history is sometimes out of order see player link
https://stats-playt2-com-a6jlzh3zz.vercel.app/player/4227403

@amineo
Copy link
Owner

amineo commented Sep 27, 2020

Good catch. Looks like its being sorted by the DB record ID and not the gameID. The record ID is auto generated when the parser inserts a new game. I'll make a note to update the API (https://github.com/amineo/t2-stat-parser/blob/master/app/api/src/player/player.service.ts)

@amineo
Copy link
Owner

amineo commented Sep 27, 2020

Updated API to reflect correct sort order: amineo/t2-stat-parser@2f3f61f

@amineo amineo closed this as completed Sep 27, 2020
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

No branches or pull requests

2 participants