[Checkins] SVN: Products.GenericSetup/trunk/ sort the list of extension profiles on the import form alphabetically

David Glick davidglick at onenw.org
Thu Feb 24 15:16:27 EST 2011


Log message for revision 120566:
  sort the list of extension profiles on the import form alphabetically

Changed:
  U   Products.GenericSetup/trunk/Products/GenericSetup/www/sutImportSteps.zpt
  U   Products.GenericSetup/trunk/docs/CHANGES.rst

-=-
Modified: Products.GenericSetup/trunk/Products/GenericSetup/www/sutImportSteps.zpt
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/www/sutImportSteps.zpt	2011-02-24 17:00:01 UTC (rev 120565)
+++ Products.GenericSetup/trunk/Products/GenericSetup/www/sutImportSteps.zpt	2011-02-24 20:16:27 UTC (rev 120566)
@@ -6,6 +6,7 @@
                    context_title python:[c['title'] for c in contexts if c['id']==context_id];
                    context_title python:context_title and context_title[0] or 'UNKNOWN';
                    extension_contexts python:[c for c in contexts if c['type'] in ['extension','snapshot']];
+                   dummy python:extension_contexts.sort(key=lambda x: x['title'])
                    ">
 <h1 tal:replace="structure context/manage_page_header">PAGE HEADER</h1>
 <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"

Modified: Products.GenericSetup/trunk/docs/CHANGES.rst
===================================================================
--- Products.GenericSetup/trunk/docs/CHANGES.rst	2011-02-24 17:00:01 UTC (rev 120565)
+++ Products.GenericSetup/trunk/docs/CHANGES.rst	2011-02-24 20:16:27 UTC (rev 120566)
@@ -4,6 +4,8 @@
 1.6.3 (unreleased)
 ------------------
 
+- Import form: Sort the list of extension profiles alphabetically by title.
+
 - Property import/export: Fixed two 'date' property issues.
   Naive 'date' values are now exported without time zone. And purging
   non-deletable 'date' properties is fixed.



More information about the checkins mailing list