RillingDev/yugioh-deck-tool

Sort Issues

Closed this issue · 3 comments

Sort issues discovered on live version: https://ygoprodeck.com/card-database/deck-prices/

Upvotes: The highest up-voted card (Dark Magician) is not shown.

Latest: Latest cards don't seem to be using the correct sorting methods. Seems to be a random mixture of cards.

This seems to be something I fixed before but appears again because I changed the way sorting works: I filter out duplicate cards, but lose the upvoting data. I am not sure what happened with the latest cards, but i'll look into it.

Should be fixed with aa70ec1
Some pretty old cards seem to have a rather new Timestamp in the .json I got from you
"A Legendary Ocean" -> "date":"2018-03-18 10:11:28"

Ah you are looking at the "date" column in the json file. That's when the card was last called on the front-end.