add max to results reach 1000
parent
f83b22a5e3
commit
d355e5e6fc
|
@ -561,7 +561,8 @@ class OpenSearch(object):
|
||||||
self.desktop_url = self.url_carry(host = self.desktop_host, format = None)
|
self.desktop_url = self.url_carry(host = self.desktop_host, format = None)
|
||||||
|
|
||||||
self.osd_url = self.qualify('/catalog/osd-books.xml')
|
self.osd_url = self.qualify('/catalog/osd-books.xml')
|
||||||
|
if self.end_index==1000:
|
||||||
|
self.end_index='1000 (max)'
|
||||||
s = cherrypy.session
|
s = cherrypy.session
|
||||||
# write this late so pages can change it
|
# write this late so pages can change it
|
||||||
s['search_terms'] = self.search_terms
|
s['search_terms'] = self.search_terms
|
||||||
|
|
Loading…
Reference in New Issue