Commit 8331e385 authored by mgabdev's avatar mgabdev

Updated feature group limit to 50

parent e7b71463
......@@ -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, DESC').all
when 'admin'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment