Commit da8640fa authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_core: Base_getRelatedDocumentList only apply limit parameter to the final catalog

parent 9245e4f4
......@@ -13,4 +13,4 @@ if follow_up_related_document_list:
Query(uid=[x.getUid() for x in follow_up_related_document_list]),
operator='or')
return portal_catalog(portal_type=portal_type, **kw)
return portal_catalog(portal_type=portal_type, limit=limit, **kw)
......@@ -50,7 +50,7 @@
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>portal_type= [], **kw</string> </value>
<value> <string>portal_type= [], limit=None, **kw</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
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