fix for reltag search
This commit is contained in:
@@ -35,7 +35,7 @@ protected
|
|||||||
end
|
end
|
||||||
|
|
||||||
def related_tags
|
def related_tags
|
||||||
tag = Tag.named(query).first
|
tag = Tag.named(query.strip).first
|
||||||
|
|
||||||
if tag
|
if tag
|
||||||
tag.related_tag_array.map(&:first)
|
tag.related_tag_array.map(&:first)
|
||||||
|
|||||||
Reference in New Issue
Block a user