Bug: if all the comments on a post were deleted then the deleted comments wouldn't be visible to moderators. This was because we assumed that if `last_commented_at` was nil it meant that the post had no comments, but this was wrong. `last_commented_at` only counts undeleted comments. It's reset to nil if all the commnets have been deleted.
7.7 KiB
7.7 KiB