better fix for #1253
This commit is contained in:
@@ -161,7 +161,7 @@ class Tag < ActiveRecord::Base
|
||||
|
||||
module ParseMethods
|
||||
def normalize(query)
|
||||
query.to_s.downcase.strip
|
||||
query.to_s.strip
|
||||
end
|
||||
|
||||
def scan_query(query)
|
||||
|
||||
@@ -44,7 +44,7 @@ module PostSetPresenters
|
||||
end
|
||||
|
||||
def related_tags_for_single
|
||||
tag = Tag.find_by_name(post_set.tag_string)
|
||||
tag = Tag.find_by_name(post_set.tag_string.downcase)
|
||||
|
||||
if tag
|
||||
tag.related_tag_array.map(&:first)
|
||||
|
||||
Reference in New Issue
Block a user