Commit 974f4347 authored by Jérome Perrin's avatar Jérome Perrin

ERP5Form: keep delegated_list sorted in Form.proxifyField

For same reasons as 5b1c03c8 (sort delegated lists to make proxy field
representations more stable., 2009-05-18)
parent e4275bbe
......@@ -1190,7 +1190,7 @@ class ERP5Form(Base, ZMIForm, ZopePageTemplate):
delegated_list.append(i)
proxy_field.values.update(new_values)
proxy_field.tales.update(new_tales)
proxy_field.delegated_list = delegated_list
proxy_field.delegated_list = sorted(delegated_list)
# move back to the original group and position.
set_group_and_position(group, position, field_id)
......
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