Ensure that the params from subclasses get merged properly with ProjectSurvey view.
authorLennard de Rijk <ljvderijk@gmail.com>
Fri, 03 Jul 2009 18:20:33 +0200
changeset 2510 a85484d1f441
parent 2509 3788c916776f
child 2511 0e53ad183df9
Ensure that the params from subclasses get merged properly with ProjectSurvey view.
app/soc/views/models/project_survey.py
--- a/app/soc/views/models/project_survey.py	Fri Jul 03 18:09:48 2009 +0200
+++ b/app/soc/views/models/project_survey.py	Fri Jul 03 18:20:33 2009 +0200
@@ -62,7 +62,7 @@
 
     new_params['extra_dynaexclude'] = ['taking_access']
 
-    params = dicts.merge(params, new_params)
+    params = dicts.merge(params, new_params, sub_merge=True)
 
     super(View, self).__init__(params=params)