Fixed params used for list_action and list_description in user_self roles overview.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/views/models/user_self.py Sun Feb 22 11:36:48 2009 +0000
+++ b/app/soc/views/models/user_self.py Sun Feb 22 19:12:25 2009 +0000
@@ -248,8 +248,8 @@
for name, view in sorted(role_view.ROLE_VIEWS.iteritems()):
list_params = view.getParams().copy()
- list_params['list_action'] = (redirects.getEditRedirect, params)
- list_params['list_description'] = self.DEF_ROLE_LIST_MSG_FMT % params
+ list_params['list_action'] = (redirects.getEditRedirect, list_params)
+ list_params['list_description'] = self.DEF_ROLE_LIST_MSG_FMT % list_params
list = helper.lists.getListContent(request, list_params, filter, i, True)