mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: show avatar flair on group, badges and directory pages (#6732)
This commit is contained in:
@@ -241,11 +241,13 @@ class GroupsController < ApplicationController
|
||||
.order(username_lower: dir)
|
||||
.limit(limit)
|
||||
.offset(offset)
|
||||
.includes(:primary_group)
|
||||
|
||||
owners = users
|
||||
.order(order)
|
||||
.order(username_lower: dir)
|
||||
.where('group_users.owner')
|
||||
.includes(:primary_group)
|
||||
|
||||
render json: {
|
||||
members: serialize_data(members, GroupUserSerializer),
|
||||
|
||||
Reference in New Issue
Block a user