Commit graph

1 commit

Author SHA1 Message Date
Sean McGivern
c5f9b2be82 Remove N+1 queries from users autocomplete
Both of these were related to groups:

1. We need to preload routes (using the `with_route` scope) if we're
   going to get the group's path.
2. We were counting each group's members separately.

They're in the same commit because the spec for N+1 detection wouldn't
pass with only one of these fixes.
2019-03-25 12:12:44 +00:00