Commit a6dfd718 authored by Jérome Perrin's avatar Jérome Perrin

Give priority to REQUEST when searching "portal_type" argument for list method.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5679 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9a4528d4
......@@ -800,8 +800,8 @@ class ListBoxWidget(Widget.Widget):
# Remove useless matter
for cname in params.keys():
if params[cname] != '' and params[cname]!=None:
kw[cname] = params[cname]
kw.setdefault(cname, params[cname])
# Try to get the method through acquisition
try:
list_method = getattr(here, list_method.method_name)
......
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