From a480b054a033b061a70ae5f97b8f3f02b902196a Mon Sep 17 00:00:00 2001 From: albert Date: Wed, 6 Mar 2013 19:54:11 -0500 Subject: [PATCH] fixes #780 --- app/models/tag.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/tag.rb b/app/models/tag.rb index 8a7fb5603..64d9afb92 100644 --- a/app/models/tag.rb +++ b/app/models/tag.rb @@ -426,7 +426,7 @@ class Tag < ActiveRecord::Base params = {} if params.blank? if params[:name_matches].present? - q = q.name_matches(params[:name_matches]) + q = q.name_matches(params[:name_matches].strip) end if params[:category].present?