Commit ea523ba4 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Eteri

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

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