From 66dc5cf4120ac04418ab73eb981f51f05e9c350b Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Thu, 13 Sep 2007 09:36:47 +0000
Subject: [PATCH] Sort on int_index.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16329 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_xhtml_style/planning_content.xml          | 2 +-
 product/ERP5/bootstrap/erp5_xhtml_style/bt/revision             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_content.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_content.xml
index 0221b2c484..2cd01e6829 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_content.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_content.xml
@@ -220,7 +220,7 @@ Beware this only generates the HTML code, no CSS generation is done in this scri
       <tal:block tal:condition="python:basic.field.get_value(\'use_date_zoom\')">\n
         <!-- Defining Date Zoom Level -->\n
           <!-- XXX This part has to be improved -->\n
-          <tal:block tal:repeat="current_zoom_level python:[ [i.getTitle() , i.getIntIndex() ] for i in context.portal_categories.zoom.contentValues() ]">\n
+          <tal:block tal:repeat="current_zoom_level python:[ [i.getTitle() , i.getIntIndex() ] for i in context.portal_categories.zoom.contentValues(sort_on=\'int_index\') ]">\n
             <tal:block tal:condition="python:current_zoom_level[1]==basic.secondary_axis_info[\'zoom_level\']">\n
               <b tal:replace="nothing"> current zoom level is selected </b>\n
               <option selected="selected" value="None"\n
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
index 2ae9f6c7cb..2be0b3c11a 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
@@ -1 +1 @@
-441
\ No newline at end of file
+442
\ No newline at end of file
-- 
2.30.9