Add comments count to statuses index

This commit is contained in:
2023-07-06 19:23:17 +10:00
parent a3e97e9227
commit d0d1b43f6e
2 changed files with 9 additions and 5 deletions

View File

@@ -151,7 +151,7 @@ module Adamantium
.where(post_type: "post", name: nil)
.exclude(Sequel.pg_jsonb_op(:syndication_sources).has_key?("instagram"))
.published
.combine(:tags)
.combine(:tags, :webmentions)
.order(Sequel.desc(:published_at))
.limit(limit)
.to_a