2
0

Remove score parameter.

This commit is contained in:
2025-07-01 06:50:12 +00:00
parent 482c58f46c
commit 37e54c2ec0

View File

@@ -49,7 +49,7 @@ after_initialize do
.for_mailing_list(user, @since) .for_mailing_list(user, @since)
.where("posts.post_type = ?", Post.types[:regular]) .where("posts.post_type = ?", Post.types[:regular])
.where("posts.deleted_at IS NULL AND posts.hidden = false AND posts.user_deleted = false") .where("posts.deleted_at IS NULL AND posts.hidden = false AND posts.user_deleted = false")
.where("posts.post_number > ? AND posts.score > ?", 1) .where("posts.post_number > ?", 1)
.where("posts.created_at < ?", (SiteSetting.editing_grace_period || 0).seconds.ago) .where("posts.created_at < ?", (SiteSetting.editing_grace_period || 0).seconds.ago)
.limit(SiteSetting.digest_posts) .limit(SiteSetting.digest_posts)
else else