try sorting repos with no lastBuildFinishedAt attribute in reverse order
This commit is contained in:
parent
b3e6303bfc
commit
1088b48b64
|
@ -39,7 +39,7 @@ GIT
|
|||
|
||||
GIT
|
||||
remote: git://github.com/travis-ci/travis-core.git
|
||||
revision: b992e408f230ad5dee9ca7787b3443d05322df2b
|
||||
revision: 7b0da75b0a1d4ffd385ffe488dcf1a621aa73905
|
||||
specs:
|
||||
travis-core (0.0.1)
|
||||
actionmailer (~> 3.2.3)
|
||||
|
@ -60,7 +60,7 @@ GIT
|
|||
|
||||
GIT
|
||||
remote: git://github.com/travis-ci/travis-support.git
|
||||
revision: 27857bb4f5425b8aacc9b26e4661688dca962fb0
|
||||
revision: df5bac85abf3df4e1011011bfb054fe0dede142c
|
||||
specs:
|
||||
travis-support (0.0.1)
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ require 'travis/model'
|
|||
if lastBuildFinishedAt = @get('lastBuildFinishedAt')
|
||||
- new Date(lastBuildFinishedAt).getTime()
|
||||
else
|
||||
- new Date('9999').getTime() + parseInt(@get('id'))
|
||||
- new Date('9999').getTime() - parseInt(@get('id'))
|
||||
).property('lastBuildFinishedAt')
|
||||
|
||||
stats: (->
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user