[Erp5-report] r9707 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateItem/po...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Sep 6 17:05:13 CEST 2006


Author: jerome
Date: Wed Sep  6 17:05:12 2006
New Revision: 9707

URL: http://svn.erp5.org?rev=9707&view=rev
Log:
Category_getSortedCategoryChildValueList can be replaced by getCategoryChildValueList method, this script is useless.


Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Category_getSortedCategoryChildValueList.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Category_getSortedCategoryChildValueList.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Category_getSortedCategoryChildValueList.xml?rev=9707&r1=9706&r2=9707&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Category_getSortedCategoryChildValueList.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Category_getSortedCategoryChildValueList.xml Wed Sep  6 17:05:12 2006
@@ -68,7 +68,10 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>value_list = filter(lambda o: o.getRelativeUrl() != context.getRelativeUrl(),context.getCategoryChildValueList())\n
+            <value> <string># this script is no longer needed.\n
+context.log(\'Category_getSortedCategoryChildValueList\', \'use getCategoryChildValueList method\')\n
+\n
+value_list = filter(lambda o: o.getRelativeUrl() != context.getRelativeUrl(),context.getCategoryChildValueList())\n
 sort_id=\'int_index\'\n
 value_list.sort(lambda x,y: cmp(x.getProperty(sort_id), y.getProperty(sort_id)))\n
 return value_list\n
@@ -115,9 +118,9 @@
                         <value>
                           <tuple>
                             <string>kw</string>
-                            <string>filter</string>
                             <string>_getattr_</string>
                             <string>context</string>
+                            <string>filter</string>
                             <string>value_list</string>
                             <string>sort_id</string>
                           </tuple>

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=9707&r1=9706&r2=9707&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision Wed Sep  6 17:05:12 2006
@@ -1,1 +1,1 @@
-53
+54




More information about the Erp5-report mailing list