[Erp5-report] r42733 jerome - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/portal_s...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jan 28 11:57:55 CET 2011


Author: jerome
Date: Fri Jan 28 11:57:55 2011
New Revision: 42733

URL: http://svn.erp5.org?rev=42733&view=rev
Log:
fix sorting

Modified:
    erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/ERP5Site_getAccountItemList.xml
    erp5/trunk/bt5/erp5_accounting/bt/revision

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/ERP5Site_getAccountItemList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/ERP5Site_getAccountItemList.xml?rev=42733&r1=42732&r2=42733&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/ERP5Site_getAccountItemList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/ERP5Site_getAccountItemList.xml [utf8] Fri Jan 28 11:57:55 2011
@@ -98,7 +98,7 @@ def getAccountItemList(section_category,
         account.getRelativeUrl(), ]\n
 \n
   return [(\'\', \'\')] + sorted(account_dict.values(),\n
-                key=lambda item: item[1])\n
+                key=lambda item: item[0])\n
 \n
 getAccountItemList = CachingMethod(getAccountItemList,\n
                                    id=script.getId(),\n

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=42733&r1=42732&r2=42733&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] Fri Jan 28 11:57:55 2011
@@ -1 +1 @@
-1436
\ No newline at end of file
+1437
\ No newline at end of file



More information about the Erp5-report mailing list