Updated feature group limit to 50
This commit is contained in:
parent
e7b7146374
commit
8331e38567
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue