[Erp5-report] r28057 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateItem/p...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jul 13 03:48:11 CEST 2009
Author: tatuya
Date: Mon Jul 13 03:48:11 2009
New Revision: 28057
URL: http://svn.erp5.org?rev=28057&view=rev
Log:
2009-07-13 tatuya
* Remove None value from the request parameters to prevent creating unnecessary ' is Null' queries when searching via the search dialogs
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_search.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_search.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_search.xml?rev=28057&r1=28056&r2=28057&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_search.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_search.xml [utf8] Mon Jul 13 03:48:11 2009
@@ -79,6 +79,11 @@
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
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log?rev=28057&r1=28056&r2=28057&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log [utf8] Mon Jul 13 03:48:11 2009
@@ -1,3 +1,6 @@
+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
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=28057&r1=28056&r2=28057&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Mon Jul 13 03:48:11 2009
@@ -1,1 +1,1 @@
-1268
+1271
More information about the Erp5-report
mailing list