diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Category_getSortedCategoryChildValueList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Category_getSortedCategoryChildValueList.xml index 579687bc31ddd825f105f3230dd1617b9d5ab137..10958b34393b86e30ee368282c0c526d6d8aad8f 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Category_getSortedCategoryChildValueList.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Category_getSortedCategoryChildValueList.xml @@ -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 @@ return value_list\n <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> diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision index 8783e305111947a209a0689074d8dfa60d33582e..43c451e0c6da52ad30bb605a60c7cb34497f3d30 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/revision +++ b/product/ERP5/bootstrap/erp5_core/bt/revision @@ -1 +1 @@ -53 \ No newline at end of file +54 \ No newline at end of file