Case insensitive filter for version name
Search for version name does not work for case sensitive names
#2 Updated by Holger Just 11 days ago
There is a database-agnostic helper method for a case-insensititive LIKE. You should be able to just use this:
where([Redmine::Database.like("Version.table_name}.name", '?'), pattern])
MySQL is case-insensitive by default. Searching on Postgres should work with this method. As for the other supported databases: I'm not fully sure whether they do the right thing there. If they don't show the correct behavior then the
Redmine::Database.like method should be fixed.