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
@ -15,6 +15,10 @@ Changelog
|
||||
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