From 906fa4ce7eb449e880d96fec835f9aab3ad43d2e Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Mon, 29 Jun 2009 09:54:17 +0000 Subject: [PATCH] fix publish button for the moderate comments view. svn path=/plone.app.discussion/trunk/; revision=27713 --- plone/app/discussion/browser/moderation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plone/app/discussion/browser/moderation.py b/plone/app/discussion/browser/moderation.py index f144831..68ee9b4 100644 --- a/plone/app/discussion/browser/moderation.py +++ b/plone/app/discussion/browser/moderation.py @@ -32,7 +32,7 @@ class View(BrowserView): def comments_all(self, start=0, size=None): 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) context = aq_inner(self.context)