Commit 44ef10ce authored by Jérome Perrin's avatar Jérome Perrin

fix NameError `form` in Base_configureSortOn

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18151 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 09d6651c
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<string>Products.PythonScripts.PythonScript</string> <tuple/>
<string>PythonScript</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -76,6 +73,7 @@ from Products.Formulator.Errors import ValidationError, FormValidationError\n ...@@ -76,6 +73,7 @@ from Products.Formulator.Errors import ValidationError, FormValidationError\n
\n \n
request = context.REQUEST\n request = context.REQUEST\n
field_sort_type = request.form.get(\'field_sort_type\', None)\n field_sort_type = request.form.get(\'field_sort_type\', None)\n
form = context.Folder_viewSortOnDialog\n
\n \n
try:\n try:\n
# No validation for now\n # No validation for now\n
...@@ -156,15 +154,16 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n ...@@ -156,15 +154,16 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n
<string>request</string> <string>request</string>
<string>None</string> <string>None</string>
<string>field_sort_type</string> <string>field_sort_type</string>
<string>form</string>
<string>sort_on</string> <string>sort_on</string>
<string>i</string> <string>i</string>
<string>_getiter_</string> <string>_getiter_</string>
<string>k</string> <string>k</string>
<string>_getitem_</string> <string>_getitem_</string>
<string>v</string> <string>v</string>
<string>_inplacevar_</string>
<string>t</string> <string>t</string>
<string>validation_errors</string> <string>validation_errors</string>
<string>form</string>
<string>field_errors</string> <string>field_errors</string>
<string>redirect_url</string> <string>redirect_url</string>
</tuple> </tuple>
......
637 638
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment