Commit 735d3fac authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

the default value for multiple list fields should be [] not None. since...

the default value for multiple list fields should be [] not None. since r29556, ('', '') item will be selected if the default value is None.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30040 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0f3b2043
...@@ -298,7 +298,7 @@ def getSearchDialog(self, REQUEST=None): ...@@ -298,7 +298,7 @@ def getSearchDialog(self, REQUEST=None):
field._surcharged_tales( field._surcharged_tales(
dict( dict(
default=TALESMethod( default=TALESMethod(
'here/portal_selections/%s/%s | nothing' 'here/portal_selections/%s/%s | python:[]'
% (selection_name, state_var))), % (selection_name, state_var))),
['title', 'items', 'size', 'default']) ['title', 'items', 'size', 'default'])
......
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