forked from e621ng/e621ng
parent
ac0f2e9a40
commit
81ab93b7ee
@ -96,7 +96,7 @@ class Takedown < ApplicationRecord
|
||||
end
|
||||
|
||||
def add_posts_by_tags!(tag_string)
|
||||
new_ids = Post.tag_match_system("#{tag_string} -status:deleted").limit(1000).pluck(&:id)
|
||||
new_ids = Post.tag_match_system("#{tag_string} -status:deleted").limit(1000).pluck(:id)
|
||||
add_posts_by_ids!(new_ids.join(" "))
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user