cwvreg.py
changeset 1381 6042f1b342bb
parent 1254 585f3c476a18
child 1477 b056a49c16dc
child 1593 8602116daef3
--- a/cwvreg.py	Thu Apr 16 15:35:36 2009 +0200
+++ b/cwvreg.py	Thu Apr 16 16:02:24 2009 +0200
@@ -179,9 +179,9 @@
         
     def possible_actions(self, req, rset, **kwargs):
         if rset is None:
-            actions = self.possible_vobjects('actions', req, rset)
+            actions = self.possible_vobjects('actions', req, rset, **kwargs)
         else:
-            actions = rset.possible_actions() # cached implementation
+            actions = rset.possible_actions(**kwargs) # cached implementation
         result = {}
         for action in actions:
             result.setdefault(action.category, []).append(action)