Fix #3969: Translated tags should ignore artist tags.

This commit is contained in:
evazion
2018-11-04 17:07:35 -06:00
parent 19b92acabc
commit 628341f7f0
2 changed files with 2 additions and 2 deletions

View File

@@ -180,7 +180,7 @@ module Sources
def translated_tags
translated_tags = tags.map(&:first).flat_map(&method(:translate_tag)).uniq.sort
translated_tags.map { |tag| [tag.name, tag.category] }
translated_tags.reject { |tag| tag.category == Tag.categories.artist }
end
# Given a tag from the source site, should return an array of corresponding Danbooru tags.