Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 486f343

Browse files
committed
FIX: Include previously solved topics in auto-bump
Null values can happen when a post is removed as the solution. We already filter for NOT NULL in the topic_query and search filters. This commit adds the same logic to the auto-bump filter.
1 parent 3763ca4 commit 486f343

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugin.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ class ::ListableTopicSerializer
545545
SELECT 1 FROM topic_custom_fields
546546
WHERE topic_id = topics.id
547547
AND name = 'accepted_answer_post_id'
548+
AND value IS NOT NULL
548549
)
549550
SQL
550551
})

0 commit comments

Comments
 (0)