Commit 1f605ced authored by Yusei Tahara's avatar Yusei Tahara

[erp5_dms] Fix a bug on FCKeditor_getImageList.

parent 2c1a4eba
return context.getPortalObject().portal_catalog(
context.FCKeditor_getDocumentListQuery(document_type='Image'), **kw)
result = context.FCKeditor_getDocumentListQuery(document_type='Image')
if result is not None:
kw['query'] = result
return context.getPortalObject().portal_catalog(**kw)
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