Commit 85470f2a authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Actually show the latest and not the newest protocol on the index page

parent c160a9d0
......@@ -120,7 +120,8 @@ def index():
and (protocol.has_public_view_right(user)
or protocol.has_private_view_right(user))
],
key=_protocol_sort_key
key=_protocol_sort_key,
reverse=True
)
protocol = finished_protocols[0] if len(finished_protocols) > 0 else None
todos = None
......
Supports Markdown
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