Actions
Defect #12349
closedWatchers auto-complete search on non-latin chars
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
The current code generates SQL like as:
SELECT "users".* FROM "users" WHERE "users"."type" IN ('User', 'AnonymousUser') AND (users.status = 1) AND (LOWER(login) LIKE '%Собо%' OR LOWER(firstname) LIKE '%Собо%' OR LOWER(lastname) LIKE '%Собо%' OR LOWER(mail) LIKE '%Собо%') LIMIT 100
So, searching user "Соболев Денис" on "Собо" as result - not found. There is the case sensitive.
Patch attached.
Files
Actions