Commit 51cd9933 authored by Vincent Pelletier's avatar Vincent Pelletier

self *is* portal_selections.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27680 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f0f4add4
...@@ -1124,7 +1124,7 @@ class SelectionTool( BaseTool, UniqueObject, SimpleItem ): ...@@ -1124,7 +1124,7 @@ class SelectionTool( BaseTool, UniqueObject, SimpleItem ):
# XXX Hardcoded listbox field # XXX Hardcoded listbox field
selection_name = redirect_form.listbox.get_value('selection_name') selection_name = redirect_form.listbox.get_value('selection_name')
# Reset current selection # Reset current selection
self.portal_selections.setSelectionFor(selection_name, None) self.setSelectionFor(selection_name, None)
if (field.get_value('is_multi_relation_field')) and \ if (field.get_value('is_multi_relation_field')) and \
...@@ -1144,9 +1144,9 @@ class SelectionTool( BaseTool, UniqueObject, SimpleItem ): ...@@ -1144,9 +1144,9 @@ class SelectionTool( BaseTool, UniqueObject, SimpleItem ):
# Checked current uid # Checked current uid
kw ={} kw ={}
kw[field.get_value('catalog_index')] = field_value kw[field.get_value('catalog_index')] = field_value
self.portal_selections.setSelectionParamsFor(selection_name, self.setSelectionParamsFor(selection_name,
kw.copy()) kw.copy())
self.portal_selections.setSelectionCheckedUidsFor( self.setSelectionCheckedUidsFor(
selection_name, selection_name,
current_uid_list) current_uid_list)
field_value = str(field_value).splitlines() field_value = str(field_value).splitlines()
......
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