mirror of
https://github.com/redmine/redmine.git
synced 2026-01-24 00:09:46 +01:00
Restore accent insensitive search with mysql (#18537).
git-svn-id: http://svn.redmine.org/redmine/trunk@13767 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user