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

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jul 18 15:20:39 CEST 2008


Author: nicolas
Date: Fri Jul 18 15:20:35 2008
New Revision: 22559

URL: http://svn.erp5.org?rev=22559&view=rev
Log:
sort portal_types in workflow report

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

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_generateWorkflowReport.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_generateWorkflowReport.xml?rev=22559&r1=22558&r2=22559&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_generateWorkflowReport.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_generateWorkflowReport.xml Fri Jul 18 15:20:35 2008
@@ -94,7 +94,9 @@
         result_dict.update({content_type_id: portal_type_dict})\n
 \n
 state_list_dict = {}\n
-for portal_type in result_dict.keys():\n
+portal_type_list = result_dict.keys()\n
+portal_type_list.sort()\n
+for portal_type in portal_type_list:\n
   listbox.append({\'portal_type\': portal_type,\n
                   \'state\'      : \'\',\n
                   \'count\'      : \'\'})\n
@@ -194,6 +196,7 @@
                             <string>portal_type_dict</string>
                             <string>count</string>
                             <string>state_list_dict</string>
+                            <string>portal_type_list</string>
                             <string>portal_type</string>
                             <string>state_list</string>
                             <string>state</string>

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=22559&r1=22558&r2=22559&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision Fri Jul 18 15:20:35 2008
@@ -1,1 +1,1 @@
-878
+879




More information about the Erp5-report mailing list