fix publish button for the moderate comments view.

svn path=/plone.app.discussion/trunk/; revision=27713
This commit is contained in:
Timo Stollenwerk 2009-06-29 09:54:17 +00:00
parent 59554b7af7
commit 906fa4ce7e

View File

@ -32,7 +32,7 @@ class View(BrowserView):
def comments_all(self, start=0, size=None): def comments_all(self, start=0, size=None):
self.state = self.request.get('review_state', 'pending') self.state = self.request.get('review_state', 'pending')
self.transition = self.request.get('publish_transition', 'pending') self.transition = self.request.get('publish_transition', 'publish')
self.limit = self.request.get('limit', 100) self.limit = self.request.get('limit', 100)
context = aq_inner(self.context) context = aq_inner(self.context)