remove order param for builds
This commit is contained in:
parent
54ea7e9246
commit
c76526436d
|
@ -42,7 +42,7 @@ GIT
|
||||||
|
|
||||||
GIT
|
GIT
|
||||||
remote: git://github.com/travis-ci/travis-api.git
|
remote: git://github.com/travis-ci/travis-api.git
|
||||||
revision: 88452632447659c9359f143451c65d0c9f4c6490
|
revision: 5a6f34005c906c012dba8b54f6130f4d13e5e60d
|
||||||
specs:
|
specs:
|
||||||
travis-api (0.0.1)
|
travis-api (0.0.1)
|
||||||
backports (~> 2.5)
|
backports (~> 2.5)
|
||||||
|
@ -60,7 +60,7 @@ GIT
|
||||||
|
|
||||||
GIT
|
GIT
|
||||||
remote: git://github.com/travis-ci/travis-core.git
|
remote: git://github.com/travis-ci/travis-core.git
|
||||||
revision: 60f38e45ce1d739894839ef74f405348fb5f8481
|
revision: c40cee1a6d66d0cc18034e6e5e90c335349ead97
|
||||||
branch: sf-travis-api
|
branch: sf-travis-api
|
||||||
specs:
|
specs:
|
||||||
travis-core (0.0.1)
|
travis-core (0.0.1)
|
||||||
|
|
|
@ -43,7 +43,7 @@ require 'travis/model'
|
||||||
|
|
||||||
@Travis.Build.reopenClass
|
@Travis.Build.reopenClass
|
||||||
byRepositoryId: (id, parameters) ->
|
byRepositoryId: (id, parameters) ->
|
||||||
@find($.extend(parameters || {}, repository_id: id, orderBy: 'number DESC'))
|
@find($.extend(parameters || {}, repository_id: id))
|
||||||
|
|
||||||
olderThanNumber: (id, build_number) ->
|
olderThanNumber: (id, build_number) ->
|
||||||
# TODO fix this api and use some kind of pagination scheme
|
# TODO fix this api and use some kind of pagination scheme
|
||||||
|
|
Loading…
Reference in New Issue
Block a user