Commit f5a055fc authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Search who and description in todos

parent 91ef9b93
......@@ -755,6 +755,7 @@ def list_todos():
todos = [
todo for todo in todos
if search_term.lower() in todo.description.lower()
or search_term.lower() in todo.who.lower()
]
def _sort_key(todo):
return (not todo.is_done(), todo.get_id())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment