[gen] More work on Refs with popup='true'.
This commit is contained in:
parent
a14bff45a7
commit
0bcd0055a3
7 changed files with 80 additions and 37 deletions
|
@ -949,7 +949,7 @@ class AbstractWrapper(object):
|
|||
contentType = tool.getPortalType(klass)
|
||||
search = Search('customSearch', **fields)
|
||||
res = tool.executeQuery(contentType, search=search, brainsOnly=True,
|
||||
noSecurity=noSecurity)
|
||||
noSecurity=noSecurity, maxResults='NO_LIMIT')
|
||||
if res: return res._len # It is a LazyMap instance
|
||||
else: return 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue