Commit ffdce686 authored by Romain Courteaud's avatar Romain Courteaud

Only return document portal types.

parent 94ca0c01
No related merge requests found
......@@ -64,6 +64,7 @@ if kw[\'reference\'] is None:\n
# we can not find other "verions" of this document as it doesn\'t have a reference\n
return []\n
kw[\'uid\'] = \'!=%s\' %document.getUid()\n
kw[\'portal_type\'] = context.getPortalDocumentTypeList()\n
return portal.portal_catalog(**kw)\n
</string> </value>
</item>
......
1252
\ No newline at end of file
1253
\ 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