Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
protokollsystem
proto3
Commits
f5a055fc
Commit
f5a055fc
authored
Mar 07, 2017
by
Robin Sonnabend
Browse files
Search who and description in todos
parent
91ef9b93
Changes
1
Hide whitespace changes
Inline
Side-by-side
server.py
View file @
f5a055fc
...
...
@@ -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
())
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment