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
87af51e4
Commit
87af51e4
authored
Apr 14, 2017
by
Robin Sonnabend
Browse files
Ignore case when sorting todomails
/close
#21
parent
59cbe00a
Changes
1
Hide whitespace changes
Inline
Side-by-side
server.py
View file @
87af51e4
...
...
@@ -1149,7 +1149,7 @@ def delete_error(error):
@
app
.
route
(
"/todomails/list"
)
@
login_required
def
list_todomails
():
todomails
=
sorted
(
TodoMail
.
query
.
all
(),
key
=
lambda
tm
:
tm
.
name
)
todomails
=
sorted
(
TodoMail
.
query
.
all
(),
key
=
lambda
tm
:
tm
.
name
.
lower
()
)
todomails_table
=
TodoMailsTable
(
todomails
)
return
render_template
(
"todomails-list.html"
,
todomails
=
todomails
,
todomails_table
=
todomails_table
)
...
...
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