XenForo
Administrative
- Thread starter
- Admin
- #1
Comments in reports are out of order (sometimes), with new ones inserting themselves into random places. Turns out, the report comments aren't being sorted when they are queried.
In
Currently:
PHP:
Maybe change to this to get a consistent order?
PHP:
Currently I see this...
Read more
ادامه مطلب...
In
XF\Pub\Controller\ReportCurrently:
PHP:
$comments = $report->getRelationFinder('Comments')->with('User')->fetch();Maybe change to this to get a consistent order?
PHP:
$comments = $report->getRelationFinder('Comments')->with('User')->order('comment_date')->fetch();Currently I see this...
Read more
ادامه مطلب...