Fixed params used for list_action and list_description in user_self roles overview.
authorLennard de Rijk <ljvderijk@gmail.com>
Sun, 22 Feb 2009 19:12:25 +0000
changeset 1464 a7b00937b678
parent 1463 d25793debbfb
child 1465 f3805525efda
Fixed params used for list_action and list_description in user_self roles overview. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/views/models/user_self.py
--- 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)