Commit 54ddf21d authored by Jérome Perrin's avatar Jérome Perrin

Bug fix: when clicking the wheel on a multi relation field, filter the list of...

Bug fix: when clicking the wheel on a multi relation field, filter the list of displayed item with a OR on all entered values. Thanks guy


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6067 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fab99610
...@@ -1030,7 +1030,6 @@ class SelectionTool( UniqueObject, SimpleItem ): ...@@ -1030,7 +1030,6 @@ class SelectionTool( UniqueObject, SimpleItem ):
selection_name, selection_name,
current_uid_list) current_uid_list)
field_value = ''
REQUEST.form['field_%s' % field.id] = field_value REQUEST.form['field_%s' % field.id] = field_value
# XXX portal_status_message = # XXX portal_status_message =
# "Please select one or more object to define the field: # "Please select one or more object to define the field:
...@@ -1068,7 +1067,7 @@ class SelectionTool( UniqueObject, SimpleItem ): ...@@ -1068,7 +1067,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
kw['previous_form_id'] = form_id kw['previous_form_id'] = form_id
kw[field.get_value('catalog_index')] = field_value kw[field.get_value('catalog_index')] = str(field_value).splitlines()
""" """
# We work with strings - ie. single values # We work with strings - ie. single values
......
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