diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-15 19:22:13 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-15 19:22:13 +0000 |
commit | 30175bf85e4d064abcae5ec971bdb9782e7543ac (patch) | |
tree | 44ef9f6648b964c4dec5c2df0cee0f3acabe21a6 /lib | |
parent | 15bb695bbb2cfa6b2e1fcdc5fb77e4e0d22f2ad3 (diff) | |
download | redmine-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.rb | 2 |
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 |