Make sure the conversation.getComments method returns acquisition wrapped comments.
svn path=/plone.app.discussion/trunk/; revision=51639
This commit is contained in:
parent
f6c3e035f7
commit
5045960281
@ -14,6 +14,10 @@ Changelog
|
||||
- Make sure only comments to the content object are removed from the catalog
|
||||
when the content object is moved.
|
||||
[hannosch, timo]
|
||||
|
||||
- Make sure the conversation.getComments method returns acquisition wrapped
|
||||
comments.
|
||||
[timo]
|
||||
|
||||
|
||||
2.0.9 (2011-07-25)
|
||||
|
@ -106,7 +106,8 @@ class Conversation(Traversable, Persistent, Explicit):
|
||||
"""
|
||||
count = 0l
|
||||
for comment in self._comments.values(min=start):
|
||||
yield comment
|
||||
# Yield the acquisition wrapped comment
|
||||
yield self[comment.id]
|
||||
|
||||
count += 1
|
||||
if size and count > size:
|
||||
|
Loading…
Reference in New Issue
Block a user