Comments/Replies

* also show replies on latest-comments utility page
 * sort replies by score DESC
This commit is contained in:
Sarjuuk
2023-06-08 14:16:03 +02:00
parent 0d6a6e163c
commit e71da620c6
4 changed files with 45 additions and 22 deletions

View File

@@ -151,7 +151,7 @@ class UserPage extends GenericPage
}
// Comments
if ($_ = CommunityContent::getCommentPreviews(['user' => $this->user['id'], 'replies' => false], $nFound))
if ($_ = CommunityContent::getCommentPreviews(['user' => $this->user['id'], 'comments' => true], $nFound))
{
$tabData = array(
'data' => $_,