From f18d30f1d7974087e9dc9eb59e7e3a95ab3bf1dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Tue, 18 Nov 2014 12:09:37 +0100 Subject: [PATCH] FIX: don't limit the number of group members returned to the front-end (UI needs some work for large groups) --- app/controllers/groups_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index 3b5b07c6062..9ee53df31c8 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -18,7 +18,7 @@ class GroupsController < ApplicationController def members group = find_group(:group_id) - render_serialized(group.users.order('username_lower asc').limit(200).to_a, GroupUserSerializer) + render_serialized(group.users.order('username_lower asc').to_a, GroupUserSerializer) end private