add objectIds method to Conversation class to make publish comment work.
svn path=/plone.app.discussion/trunk/; revision=27468
This commit is contained in:
parent
282e592c8f
commit
f8b317ac7a
@ -126,6 +126,9 @@ class Conversation(Traversable, Persistent, Explicit):
|
|||||||
def commentators(self):
|
def commentators(self):
|
||||||
return self._commentators.keys()
|
return self._commentators.keys()
|
||||||
|
|
||||||
|
def objectIds(self):
|
||||||
|
return self._comments.keys()
|
||||||
|
|
||||||
def getComments(self, start=0, size=None):
|
def getComments(self, start=0, size=None):
|
||||||
"""Get unthreaded comments
|
"""Get unthreaded comments
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user