[Erp5-report] r12082 - /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateIte...

nobody at svn.erp5.org nobody at svn.erp5.org
Sun Jan 14 16:39:01 CET 2007


Author: jp
Date: Sun Jan 14 16:38:58 2007
New Revision: 12082

URL: http://svn.erp5.org?rev=12082&view=rev
Log:
2007-01-14 JPS - support of 2-tuple or 3-tuple for sorting

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/sort_list_dialog.xml

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/sort_list_dialog.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/sort_list_dialog.xml?rev=12082&r1=12081&r2=12082&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/sort_list_dialog.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/sort_list_dialog.xml Sun Jan 14 16:38:58 2007
@@ -100,7 +100,7 @@
               <tal:block tal:replace="row_index" />\n
             </label>\n
             <div class="input" tal:attributes="id string:sort_${row_index}"\n
-                               tal:define="sort_type python:item[min(2, len(item))]">\n
+                               tal:define="sort_type python:((len(item) > 2) and item[2]) or \'\'">\n
               <select name="field_sort_on">\n
                 <tal:block tal:repeat="option all_columns">\n
                   <option tal:content="python:option[1]"\n




More information about the Erp5-report mailing list