summaryrefslogtreecommitdiff
path: root/lib/api/v3/projects.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-09-07 16:15:32 +0000
committerDouwe Maan <douwe@gitlab.com>2017-09-07 16:15:32 +0000
commit523a1c69ab6c51969f2613c4042d91318f841081 (patch)
treea30cd8e62725a818a9d0e4bfa6405fe194fdc3d6 /lib/api/v3/projects.rb
parentec304cb9297ae75a7f46d6945d537c5d1cbd2fdf (diff)
parentcfd475a45ee2655fa0148b0b561f95b44fe8641b (diff)
downloadgitlab-ce-523a1c69ab6c51969f2613c4042d91318f841081.tar.gz
Merge branch '23079-remove-default-scope-in-sortable' into 'master'
Removes default scope from sortable Closes #23079 See merge request !13558
Diffstat (limited to 'lib/api/v3/projects.rb')
-rw-r--r--lib/api/v3/projects.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/v3/projects.rb b/lib/api/v3/projects.rb
index 74df246bdfe..7c260b8d910 100644
--- a/lib/api/v3/projects.rb
+++ b/lib/api/v3/projects.rb
@@ -120,7 +120,7 @@ module API
get do
authenticate!
- present_projects current_user.authorized_projects,
+ present_projects current_user.authorized_projects.order_id_desc,
with: ::API::V3::Entities::ProjectWithAccess
end