web/views/workflow.py
branchstable
changeset 3335 3c035436ca65
parent 3307 d1230b89d887
child 3339 d1d643ef37f7
--- a/web/views/workflow.py	Mon Sep 21 11:41:17 2009 +0200
+++ b/web/views/workflow.py	Mon Sep 21 11:41:45 2009 +0200
@@ -52,7 +52,8 @@
 class ChangeStateFormView(form.FormViewMixIn, view.EntityView):
     id = 'statuschange'
     title = _('status change')
-    __select__ = implements(IWorkflowable) & match_form_params('treid')
+    __select__ = (one_line_rset() & implements(IWorkflowable)
+                  & match_form_params('treid'))
 
     def cell_call(self, row, col):
         entity = self.rset.get_entity(row, col)