Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

Tener en cuenta el Timestamp para ordenar #4

Open
jairot opened this issue Jun 24, 2013 · 1 comment
Open

Tener en cuenta el Timestamp para ordenar #4

jairot opened this issue Jun 24, 2013 · 1 comment

Comments

@jairot
Copy link

jairot commented Jun 24, 2013

Por lo que se vio en la demo, es necesario tener en cuenta el timestamp del voto para ordenar.

El algoritmo que propongo, para darle un poco de estabilidad a la playlist es el siguiente:

Primero se ordena por votos, si hay empates en los votos, el que tiene el timestamp mas viejo va primero, el que tiene el segundo mas viejo, segundo, etc...

Yo lo puedo implementar a esto.

@jairot
Copy link
Author

jairot commented Jul 13, 2013

@sh4r3m4n do we have the updated test on the repo because I think that they are old. Can you update the test?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant