increase search limit to 100

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3358 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2009-04-28 11:42:45 +00:00
parent c3a05f7a48
commit d7443e199e

View file

@ -128,7 +128,7 @@ class Search(BaseView):
if not title: if not title:
data.insert(0, {'label': '', 'name': '', 'id': ''}) data.insert(0, {'label': '', 'name': '', 'id': ''})
json = [] json = []
for item in data[:20]: for item in data[:100]:
json.append("{label: '%s', name: '%s', id: '%s'}" % json.append("{label: '%s', name: '%s', id: '%s'}" %
(item['label'], item['name'], item['id'])) (item['label'], item['name'], item['id']))
json = "{identifier: 'id', items: [%s]}" % ', '.join(json) json = "{identifier: 'id', items: [%s]}" % ', '.join(json)