Skip to content
代码片段 群组 项目
提交 c5f9b2be 编辑于 作者: Sean McGivern's avatar Sean McGivern
浏览文件

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.
上级 05c6de98
No related branches found
No related tags found
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册