/time doesn't sort tied times by date (when sorting by time asc/desc) #17
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
(Example) Phobic (bhop). The top 6 times are tied.
https://strafes.fiveman1.net/maps/5692182017?style=1&game=1
https://api.strafes.net/api/v1/time?page_size=6&page_number=1&game_id=1&map_id=5692182017&mode_id=0&style_id=1&sort_by=0
I noticed that /times (when sorting by time asc/desc) does not sort by date for tied times. I know that I can sort the list myself, but there are some maps (fly trials) where there are over a hundred tied times, so it would go across a max-length page. One example is Candy Land (https://strafes.fiveman1.net/maps/5692113935?style=501&game=5) where the top 99 times are tied. There are better examples I just don't know them off the top of my head.
To add onto this, I noticed that /time/placement gives tied times the same placement. In-game they are displayed like this as well, but it would be neat if there was an option to calculate the placements based on tied date sorting as well. I care less about this though.
I believe the game sorts the list after it receives it so I'll look into adding the tie breaker sort. Will not be adding alternate placement methods.