Fixed N+1 query behaviour in findContentReactions

Xon

Well-known member
Affected version
2.1.2
In findContentReactions, the reaction content is fetched but the templates touch ReactionUser.Profile and ReactionUser.Option
 
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.
 
Top Bottom