mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 13:06:56 +08:00
Change badge user list limit to 96 so that it is divisible by 8.
This commit is contained in:
@ -7,7 +7,7 @@ class UserBadgesController < ApplicationController
|
||||
user_badges = user.user_badges
|
||||
else
|
||||
badge = fetch_badge_from_params
|
||||
user_badges = badge.user_badges.order('granted_at DESC').limit(100)
|
||||
user_badges = badge.user_badges.order('granted_at DESC').limit(96)
|
||||
end
|
||||
|
||||
if params[:granted_before]
|
||||
|
Reference in New Issue
Block a user