Commit 1ee48e50 authored by Sebastien Robin's avatar Sebastien Robin

the limit should not be a string


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3617 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3945f17a
......@@ -317,7 +317,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
if not kw.has_key('limit'):
kw['limit'] = '1000'
kw['limit'] = 1000
#LOG("search allowedRolesAndUsers",0,str(kw[ 'allowedRolesAndUsers' ]))
return apply(ZCatalog.searchResults, (self, REQUEST), 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