-
- Downloads
Preload ancestors for subgroups matching filter
Otherwise we'd only preload the ancestors that would fit the page. That way, when a search result was on the first page, but the ancestor didn't fit the page anymore. We would not have the preloaded ancestor when rendering the hierarchy.
Showing
- app/finders/group_descendants_finder.rb 24 additions, 11 deletionsapp/finders/group_descendants_finder.rb
- spec/controllers/groups/children_controller_spec.rb 24 additions, 0 deletionsspec/controllers/groups/children_controller_spec.rb
- spec/finders/group_descendants_finder_spec.rb 12 additions, 1 deletionspec/finders/group_descendants_finder_spec.rb
Please register or sign in to comment