summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-15 19:22:13 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-15 19:22:13 +0000
commit30175bf85e4d064abcae5ec971bdb9782e7543ac (patch)
tree44ef9f6648b964c4dec5c2df0cee0f3acabe21a6 /lib
parent15bb695bbb2cfa6b2e1fcdc5fb77e4e0d22f2ad3 (diff)
downloadredmine-30175bf85e4d064abcae5ec971bdb9782e7543ac.tar.gz
redmine-30175bf85e4d064abcae5ec971bdb9782e7543ac.zip
Restore accent insensitive search with mysql (#18537).
git-svn-id: http://svn.redmine.org/redmine/trunk@13767 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb b/lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb
index ad1ef122c..35ee265de 100644
--- a/lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb
+++ b/lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb
@@ -121,8 +121,6 @@ module Redmine
case connection.adapter_name
when /postgresql/i
"#{column} ILIKE #{value}"
- when /mysql/i
- "LOWER(#{column}) COLLATE utf8_bin LIKE LOWER(#{value})"
else
"#{column} LIKE #{value}"
end