diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-09-13 10:25:37 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-10-04 22:49:41 +0200 |
commit | 1fb49b8729b126360e9852b184c0ba63c330c4b5 (patch) | |
tree | 16d98d3cebce15491fc8d78059bb6b1dd4fe0ccd /app/finders | |
parent | 3299a970e09ceca7ecabb3d78a5693f58ef79d79 (diff) | |
download | gitlab-ce-1fb49b8729b126360e9852b184c0ba63c330c4b5.tar.gz |
Only show root groups on the dashboard
The children are lazy-loaded when expanding
Diffstat (limited to 'app/finders')
-rw-r--r-- | app/finders/group_children_finder.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/finders/group_children_finder.rb b/app/finders/group_children_finder.rb index 9760f9ef802..6e2e2dfa5a1 100644 --- a/app/finders/group_children_finder.rb +++ b/app/finders/group_children_finder.rb @@ -64,7 +64,6 @@ class GroupChildrenFinder else base_groups end - groups = groups groups.sort(params[:sort]).includes(:route) end |