Commit 66dc5cf4 authored by Romain Courteaud's avatar Romain Courteaud

Sort on int_index.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16329 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 785a9b81
...@@ -220,7 +220,7 @@ Beware this only generates the HTML code, no CSS generation is done in this scri ...@@ -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 <tal:block tal:condition="python:basic.field.get_value(\'use_date_zoom\')">\n
<!-- Defining Date Zoom Level -->\n <!-- Defining Date Zoom Level -->\n
<!-- XXX This part has to be improved -->\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 <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 <b tal:replace="nothing"> current zoom level is selected </b>\n
<option selected="selected" value="None"\n <option selected="selected" value="None"\n
......
441 442
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment