Fixed deleted comments being included in count.
This commit is contained in:
parent
7b33ef088d
commit
9737659317
1 changed files with 1 additions and 0 deletions
|
@ -215,6 +215,7 @@ define('MSZ_COMMENTS_CATEGORY_QUERY', '
|
|||
LEFT JOIN `msz_roles` as r
|
||||
ON r.`role_id` = u.`display_role`
|
||||
WHERE p.`category_id` = :category
|
||||
AND p.`comment_deleted` IS NULL
|
||||
%s
|
||||
ORDER BY p.`comment_pinned` DESC, p.`comment_id` %s
|
||||
');
|
||||
|
|
Loading…
Add table
Reference in a new issue