Allow searching by member IDs

This commit is contained in:
Tanner Collin 2020-05-17 00:30:59 +00:00
parent 99c1c53f12
commit 7cfe73580b

View File

@ -149,6 +149,7 @@ def gen_search_strings():
string += ' ' + m.old_email string += ' ' + m.old_email
if m.user: if m.user:
string += ' ' + m.user.email string += ' ' + m.user.email
string += ' ' + str(m.id)
string = string.lower() string = string.lower()
search_strings[string] = m.id search_strings[string] = m.id