mirror of
https://github.com/moebooru/moebooru
synced 2025-08-31 05:55:11 +00:00
case-insensitive source search
--HG-- branch : moe extra : convert_revision : svn%3A2d28d66d-8d94-df11-8c86-00306ef368cb/trunk/moe%40301
This commit is contained in:
@@ -95,7 +95,7 @@ module PostSqlMethods
|
||||
end
|
||||
|
||||
if q[:source].is_a?(String)
|
||||
conds << "p.source LIKE ? ESCAPE E'\\\\'"
|
||||
conds << "lower(p.source) LIKE lower(?) ESCAPE E'\\\\'"
|
||||
cond_params << q[:source]
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user