Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2017-09-13 11:25:37 +0300
committerBob Van Landuyt <bob@vanlanduyt.co>2017-10-04 23:49:41 +0300
commit1fb49b8729b126360e9852b184c0ba63c330c4b5 (patch)
tree16d98d3cebce15491fc8d78059bb6b1dd4fe0ccd /app/finders
parent3299a970e09ceca7ecabb3d78a5693f58ef79d79 (diff)
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.rb1
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