--- a/cwvreg.py Fri Apr 24 16:48:38 2009 +0200
+++ b/cwvreg.py Fri Apr 24 17:04:14 2009 +0200
@@ -210,9 +210,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)