Foward to shorter wildcard aliases first, related to #38

master
Pierre Jaury 8 years ago
parent 065e95723b
commit ede346fd84

@ -13,5 +13,6 @@ query =
'%s' LIKE alias.email
)
ORDER BY
alias.wildcard ASC
alias.wildcard ASC,
length(alias.localpart) DESC
LIMIT 1

Loading…
Cancel
Save