equal
deleted
inserted
replaced
208 key=lambda x: x.propval('order')) |
208 key=lambda x: x.propval('order')) |
209 if x.propval('visible')] |
209 if x.propval('visible')] |
210 |
210 |
211 def possible_actions(self, req, rset, **kwargs): |
211 def possible_actions(self, req, rset, **kwargs): |
212 if rset is None: |
212 if rset is None: |
213 actions = self.possible_vobjects('actions', req, rset) |
213 actions = self.possible_vobjects('actions', req, rset, **kwargs) |
214 else: |
214 else: |
215 actions = rset.possible_actions() # cached implementation |
215 actions = rset.possible_actions(**kwargs) # cached implementation |
216 result = {} |
216 result = {} |
217 for action in actions: |
217 for action in actions: |
218 result.setdefault(action.category, []).append(action) |
218 result.setdefault(action.category, []).append(action) |
219 return result |
219 return result |
220 |
220 |