--- 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)