Commit 293a0f7d authored by Jérome Perrin's avatar Jérome Perrin

when using proxy listbox ID, if the proxy listbox does not set any portal types

filter, use portal type filter from the relation field.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25209 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0d470ae7
......@@ -79,7 +79,7 @@ if parameter is not None:\n
return portal_type\n
\n
proxied_listbox_portal_type = proxied_listbox.get_value(\'portal_types\')\n
return [x for x in proxied_listbox_portal_type if x in portal_type]\n
return [x for x in proxied_listbox_portal_type if x in portal_type] or portal_type\n
\n
return result\n
</string> </value>
......
1074
\ No newline at end of file
1075
\ No newline at end of file
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