Commit 7c00c008 authored by Jérome Perrin's avatar Jérome Perrin

pass limit=None to catalog searches


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27481 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d3f507a9
......@@ -151,7 +151,7 @@ class CategoryTool(CopyContainer, CMFCategoryTool, BaseTool):
activate_kw = {'tag':'%s_updateRelatedContent' % context.getPath()}
# udpate category related objects
kw = {'category.category_uid':context.getUid()}
kw = {'category.category_uid': context.getUid(), 'limit': None}
for related_object in portal_catalog(**kw):
related_object = related_object.getObject()
category_list = []
......@@ -164,7 +164,7 @@ class CategoryTool(CopyContainer, CMFCategoryTool, BaseTool):
activate_kw=activate_kw)
# udpate all predicates membership
kw = {'predicate_category.category_uid':context.getUid()}
kw = {'predicate_category.category_uid': context.getUid(), 'limit': None}
for predicate in portal_catalog(**kw):
predicate = predicate.getObject()
membership_list = []
......
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