lowercase is:foo searches

This commit is contained in:
Damien Elmes 2009-10-04 19:30:21 +09:00
parent 7d8904a65d
commit 4e83a67e00

View file

@ -1861,7 +1861,7 @@ where id = :id""", pending)
token = token[4:]
type = SEARCH_TAG
elif token.startswith("is:"):
token = token[3:]
token = token[3:].lower()
type = SEARCH_TYPE
elif token.startswith("fid:") and len(token) > 4:
dec = token[4:]