From a9734151397b2b6b219d353a79f252697fa00bcb Mon Sep 17 00:00:00 2001 From: BrokenEagle Date: Thu, 21 Dec 2017 10:09:33 -0800 Subject: [PATCH] Fixed cutoff for what is considered an added tag --- app/models/post.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/post.rb b/app/models/post.rb index ec0f6c5a4..0af8f472f 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -1741,7 +1741,7 @@ class Post < ApplicationRecord end def added_tags_are_valid - new_tags = added_tags.select { |t| t.post_count <= 1 } + new_tags = added_tags.select { |t| t.post_count <= 0 } new_general_tags = new_tags.select { |t| t.category == Tag.categories.general } new_artist_tags = new_tags.select { |t| t.category == Tag.categories.artist } repopulated_tags = new_tags.select { |t| (t.category != Tag.categories.general) && (t.category != Tag.categories.meta) && (t.created_at < 1.hour.ago) }