Remove duplicated sorting configuration (#274)

As noted by @rkh in the API introduction.
This commit is contained in:
Buck Doyle 2016-06-06 15:08:00 -04:00
parent 686e3c9baf
commit b649bb5a0f

View File

@ -1,7 +1,6 @@
module Travis::API::V3
class Queries::Repositories < Query
params :active, :private, :starred, prefix: :repository
sortable_by :id, :github_id, :owner_name, :name, active: sort_condition(:active), :'default_branch.last_build' => 'builds.started_at'
sortable_by :id, :github_id, :owner_name, :name, active: sort_condition(:active),
:'default_branch.last_build' => 'builds.started_at',
:current_build_id => "repositories.current_build_id %{order} NULLS LAST"