Commit 583ed6e7 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_xhtml_style: Sort Project and Ticket by alphabetical order of the title on contribution tab

parent 91ff428e
......@@ -37,12 +37,12 @@
i18n:domain="ui">-- Select Project --</option>
<option tal:condition="project_module"
tal:repeat="item python:[(o.getTitle(),o.getRelativeUrl())
for o in project_module.searchFolder()]"
for o in project_module.searchFolder(sort_on=(('title', 'ascending')))]"
tal:content="python:item[0]"
tal:attributes="value python:item[1]"/>
<option tal:condition="ticket_module"
tal:repeat="item python:[(o.getTitle(),o.getRelativeUrl())
for o in ticket_module.searchFolder()]"
for o in ticket_module.searchFolder(sort_on=(('title', 'ascending')))]"
tal:content="python:item[0]"
tal:attributes="value python:item[1]"/>
</select>
......
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