summaryrefslogtreecommitdiffstats
path: root/hyperkitty/views/thread.py
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/views/thread.py')
-rw-r--r--hyperkitty/views/thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hyperkitty/views/thread.py b/hyperkitty/views/thread.py
index cc1c201..8e1b0ff 100644
--- a/hyperkitty/views/thread.py
+++ b/hyperkitty/views/thread.py
@@ -172,7 +172,7 @@ def thread_index(request, mlist_fqdn, threadid, month=None, year=None):
'category': category,
'flash_messages': flash_messages,
}
- context["participants"].sort(key=lambda x: x[0].lower())
+ context["participants"].sort(key=lambda p: p.name.lower())
if is_bot:
# Don't rely on AJAX to load the replies