Open
Description
autocomplete :artist, :name
currently generates sql (using postgres)
SELECT artist.id, artist.name FROM "artist" WHERE (LOWER(artist.name) ILIKE 'test%')
ORDER BY artist.name ASC LIMIT 10
while I believe it should be change to generate:
SELECT artist.id, artist.name FROM "artist" WHERE (LOWER(artist.name) ILIKE 'test%')
ORDER BY LOWER(artist.name) ASC LIMIT 10
aka the order of results should also be based on lowering
Metadata
Metadata
Assignees
Labels
No labels
Activity