Remove expectation of term case

This commit is contained in:
Mike Moore
2013-02-07 05:59:25 -05:00
parent 5b01ac9288
commit e41b6537f9
3 changed files with 12 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ class UserSearch
end
if term.length > 0
sql << "where username_lower like :term_like or
sql << "where username ilike :term_like or
to_tsvector('simple', name) @@
to_tsquery('simple',
regexp_replace(