Increase search limit to 1,000.

master
voussoir 2020-09-24 14:28:38 -07:00
parent 343ce508bf
commit f5d8898e14
2 changed files with 2 additions and 2 deletions

View File

@ -335,7 +335,7 @@ def get_search_core():
if limit is None:
limit = 50
else:
limit = min(limit, 200)
limit = min(limit, 1000)
offset = request.args.get('offset')

View File

@ -273,7 +273,7 @@
name="author" placeholder="Author">
<select name="limit" class="basic_param">
{% set limit_options = [20, 50, 100, 200] %}
{% set limit_options = [20, 50, 100, 200, 500, 1000] %}
{% if search_kwargs['limit'] not in limit_options %}
{% do limit_options.append(search_kwargs['limit']) %}
{% do limit_options.sort() %}