Fixed MemberStat results cache behavior

Affected version
2.1.*

legend2360

Member
Hello!

I found that MemberStat doesn't cache previous result and get new query to DB on call the getResults method.
This thing you can see on the notable members page (/members/):
XF\Pub\Controller\Member.php - 114, 127
1581100404022.png
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.1.8).

Change log:
Only fetch member stat results once on the overview page
There may be a delay before changes are rolled out to the XenForo Community.
 
Top