diff options
author | Toon Claes <toon@gitlab.com> | 2017-05-26 16:31:37 +0200 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2017-05-30 22:45:59 +0200 |
commit | db679788e46d55984a4af71034c6db11aed919e4 (patch) | |
tree | d6fdb9d57f5156e9be56b0f583ff1a4d7c76fa57 /lib/api/projects.rb | |
parent | 5654ac877df5b6007606e0e1827d965bdf8e552b (diff) | |
download | gitlab-ce-db679788e46d55984a4af71034c6db11aed919e4.tar.gz |
Add :owned param to ProjectFinder
And use it in the API.
Diffstat (limited to 'lib/api/projects.rb')
-rw-r--r-- | lib/api/projects.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb index 267dd2a74d7..1356f959e70 100644 --- a/lib/api/projects.rb +++ b/lib/api/projects.rb @@ -69,7 +69,7 @@ module API def present_projects(options = {}) projects = ProjectsFinder.new(current_user: current_user, params: project_finder_params).execute - projects = filter_projects(projects) + projects = reorder_projects(projects) projects = projects.with_statistics if params[:statistics] projects = projects.with_issues_enabled if params[:with_issues_enabled] projects = projects.with_merge_requests_enabled if params[:with_merge_requests_enabled] |