diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-01-18 13:24:51 +0000 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-01-18 13:24:51 +0000 |
commit | f603f3b30bcd4303f07f87a0c6fa60697b2775fd (patch) | |
tree | 88c57ee5e189f76fd147ad2c2789c56a3ce60135 | |
parent | 31e7b3935f0f0a8721fd911675c0bd0d2aa5427b (diff) | |
parent | d6a8021ea11c97a8b65f8693a7afe1cb7216295b (diff) | |
download | gitlab-ce-f603f3b30bcd4303f07f87a0c6fa60697b2775fd.tar.gz |
Merge branch 'issuable-group-projects' into 'master'
See merge request !2481
-rw-r--r-- | app/finders/issuable_finder.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/finders/issuable_finder.rb b/app/finders/issuable_finder.rb index 4d56b48e3f8..0a4192e6bac 100644 --- a/app/finders/issuable_finder.rb +++ b/app/finders/issuable_finder.rb @@ -81,7 +81,8 @@ class IssuableFinder elsif current_user && params[:authorized_only].presence && !current_user_related? @projects = current_user.authorized_projects.reorder(nil) else - @projects = ProjectsFinder.new.execute(current_user).reorder(nil) + @projects = ProjectsFinder.new.execute(current_user, group: group). + reorder(nil) end end |