Commit b3d9328f authored by Tatuya Kamada's avatar Tatuya Kamada

2009-07-13 tatuya

* Remove None value from the request parameters to prevent creating unnecessary ' is Null' queries when searching via the search dialogs

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28057 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1fa3d948
......@@ -79,6 +79,11 @@ new_mapping = dict()\n
for key in sorted(request.form.keys()):\n
# we use sorted to make sure x_search_key appears before x\n
value = request.form[key]\n
\n
# to remove unnecessary None value\n
if value == None:\n
request.form.pop(key)\n
continue\n
\n
# workaround the bogus case where a value is passed ?value=None\n
if value == \'None\':\n
......
2009-07-13 tatuya
* Remove None value from the request parameters to prevent creating unnecessary ' is Null' queries when searching via the search dialogs
2009-07-06 nicolas
* add memcached_plugin_interaction_workflow to update related Distributed Ram Cache Plugins
......
1268
\ No newline at end of file
1271
\ 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