summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-05-17 18:53:17 +0200
committerAurélien Bompard <aurelien@bompard.org>2013-05-17 18:53:17 +0200
commit35dfa25de6642bb9e5c9a8b4d720a25993c65809 (patch)
tree22fa69fba5e5973ae0a6fd30b3aac2dd27457dd4
parent2746f97690d219de8c24456d86b53db10f122d64 (diff)
downloadkittystore-35dfa25de6642bb9e5c9a8b4d720a25993c65809.tar.gz
kittystore-35dfa25de6642bb9e5c9a8b4d720a25993c65809.tar.xz
kittystore-35dfa25de6642bb9e5c9a8b4d720a25993c65809.zip
When returning the participants, return their email too
-rw-r--r--kittystore/storm/model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kittystore/storm/model.py b/kittystore/storm/model.py
index 75ec41e..95a6f7e 100644
--- a/kittystore/storm/model.py
+++ b/kittystore/storm/model.py
@@ -201,7 +201,7 @@ class Thread(Storm):
"""Set of email senders in this thread"""
p = []
for sender in self.emails.find().config(distinct=True
- ).order_by().values(Email.sender_name):
+ ).order_by().values(Email.sender_name, Email.sender_email):
p.append(sender)
return p