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:
parent
c3a05f7a48
commit
d7443e199e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue