mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Remove expectation of term case
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user