Commit f603f3b3 authored by Yorick Peterse's avatar Yorick Peterse
Browse files

Merge branch 'issuable-group-projects' into 'master'

See merge request !2481
parents 31e7b393 d6a8021e
...@@ -81,7 +81,8 @@ def projects ...@@ -81,7 +81,8 @@ def projects
elsif current_user && params[:authorized_only].presence && !current_user_related? elsif current_user && params[:authorized_only].presence && !current_user_related?
@projects = current_user.authorized_projects.reorder(nil) @projects = current_user.authorized_projects.reorder(nil)
else else
@projects = ProjectsFinder.new.execute(current_user).reorder(nil) @projects = ProjectsFinder.new.execute(current_user, group: group).
reorder(nil)
end end
end end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment