don't convert commentators to a set before converting it to a tuple, since the values are unique.
svn path=/plone.app.discussion/trunk/; revision=27785
This commit is contained in:
parent
e86df00273
commit
47fd22f02e
@ -36,7 +36,7 @@ def last_comment_date(object):
|
|||||||
@indexer(IContentish, IZCatalog)
|
@indexer(IContentish, IZCatalog)
|
||||||
def commentators(object):
|
def commentators(object):
|
||||||
conversation = IConversation(object)
|
conversation = IConversation(object)
|
||||||
return tuple(set(conversation.commentators.keys()))
|
return tuple(conversation.commentators.keys())
|
||||||
|
|
||||||
# Comment Indexers
|
# Comment Indexers
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user