From 8331e3856794631bb5968967cf063e1b75d73c0f Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Tue, 30 Jul 2019 10:03:12 -0400 Subject: [PATCH] Updated feature group limit to 50 --- app/controllers/api/v1/groups_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v1/groups_controller.rb b/app/controllers/api/v1/groups_controller.rb index 837540f6..330f337c 100644 --- a/app/controllers/api/v1/groups_controller.rb +++ b/app/controllers/api/v1/groups_controller.rb @@ -12,7 +12,7 @@ class Api::V1::GroupsController < Api::BaseController def index case current_tab when 'featured' - @groups = Group.where(is_featured: true).limit(25).all + @groups = Group.where(is_featured: true).limit(50).all when 'member' @groups = Group.joins(:group_accounts).where(is_archived: false, group_accounts: { account: current_account }).order('group_accounts.unread_count DESC, group_accounts.id DESC').all when 'admin'