fix publish button for the moderate comments view.
svn path=/plone.app.discussion/trunk/; revision=27713
This commit is contained in:
parent
59554b7af7
commit
906fa4ce7e
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user