Updated feature group limit to 50

This commit is contained in:
mgabdev 2019-07-30 10:03:12 -04:00
parent e7b7146374
commit 8331e38567
1 changed files with 1 additions and 1 deletions

View File

@ -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'