| @@ -713,9 +713,8 @@ | ||
| 713 | 713 | public function recountStats() |
| 714 | 714 | { |
| 715 | 715 | $this->comments_count = Comment::where('post_id', $this->id) |
| 716 | 716 | ->where('type', 'comment') |
| 717 | - ->where('status', 'published') | |
| 718 | 717 | ->count(); |
| 719 | 718 | |
| 720 | 719 | $this->reactions_count = Reaction::where('object_type', 'feed')->where('type', 'like') |
| 721 | 720 | ->where('object_id', $this->id) |