Increase search limit to 1,000.
This commit is contained in:
parent
343ce508bf
commit
f5d8898e14
2 changed files with 2 additions and 2 deletions
|
@ -335,7 +335,7 @@ def get_search_core():
|
||||||
if limit is None:
|
if limit is None:
|
||||||
limit = 50
|
limit = 50
|
||||||
else:
|
else:
|
||||||
limit = min(limit, 200)
|
limit = min(limit, 1000)
|
||||||
|
|
||||||
offset = request.args.get('offset')
|
offset = request.args.get('offset')
|
||||||
|
|
||||||
|
|
|
@ -273,7 +273,7 @@
|
||||||
name="author" placeholder="Author">
|
name="author" placeholder="Author">
|
||||||
|
|
||||||
<select name="limit" class="basic_param">
|
<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 %}
|
{% if search_kwargs['limit'] not in limit_options %}
|
||||||
{% do limit_options.append(search_kwargs['limit']) %}
|
{% do limit_options.append(search_kwargs['limit']) %}
|
||||||
{% do limit_options.sort() %}
|
{% do limit_options.sort() %}
|
||||||
|
|
Loading…
Reference in a new issue