mirror of https://git.sr.ht/~sircmpwn/hub.sr.ht
add list: correct typo in search field name
This commit is contained in:
parent
a005c28fdf
commit
57719e8391
|
@ -228,7 +228,7 @@ def mailing_lists_new_POST(owner, project_name):
|
|||
list_name = field[len("existing-"):]
|
||||
break
|
||||
if not list_name:
|
||||
search = valid.optional("searc")
|
||||
search = valid.optional("search")
|
||||
mls = lists.get_list(owner)
|
||||
# TODO: Search properly
|
||||
mls = filter(lambda r: search.lower() in r["name"].lower(), mls)
|
||||
|
|
Loading…
Reference in New Issue