Bump up to 200 for now, UI perf needs lots of work
This commit is contained in:
parent
87f37b3ee9
commit
30e73104e4
|
@ -6,7 +6,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(20).to_a
|
||||
user_badges = badge.user_badges.order('granted_at DESC').limit(200).to_a
|
||||
end
|
||||
render_serialized(user_badges, UserBadgeSerializer, root: "user_badges")
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue