Change badge user list limit to 96 so that it is divisible by 8.
This commit is contained in:
parent
6b7b328c66
commit
4de700b49b
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue