From 2435de842cf53a54d4b97bb578c0ac9936e9b7b7 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Mon, 6 Jan 2014 18:31:18 +0100 Subject: Participants are now Sender entities --- hyperkitty/views/thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hyperkitty/views/thread.py') 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 -- cgit