Commit 990d7c88 authored by Sebastien Robin's avatar Sebastien Robin

make sure domain root list are not utf8


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1930 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 25d98431
......@@ -481,6 +481,9 @@ class ListBoxWidget(Widget.Widget):
# Make sure that columns are not UTF-8.
columns = [(str(cname[0]), unicode(cname[1], 'utf-8')) for cname in columns]
# Make sure that columns are not UTF-8.
domain_root_list = [(str(cname[0]), unicode(cname[1], 'utf-8')) for cname in domain_root_list]
#LOG('Listbox',0,'search_columns1: %s' % str(search_columns))
if search_columns == [] or search_columns is None or search_columns == '':
# We will set it as the schema
......
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