Fixed N+1 query behaviour in findContentReactions


Well-known member
Affected version
In findContentReactions, the reaction content is fetched but the templates touch ReactionUser.Profile and ReactionUser.Option

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.3).

Change log:
When displaying the users who reacted to content, ensure we fetch all required data up-front.
Any changes made as a result of this issue being resolved may not be rolled out here until later.