Skip to content

Commit 6ee6866

Browse files
Update HTML templates to new limits structure (#2036)
1 parent 0c1918c commit 6ee6866

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pygeoapi/templates/collections/items/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ <h1>{% for l in data['links'] if l.rel == 'collection' %} {{ l['title'] }} {% en
4343
<div class="col-sm-12">
4444
{% trans %}Limit{% endtrans %}:
4545
<select id="limits">
46-
<option value="{{ config['server']['limit'] }}">{{ config['server']['limit'] }} ({% trans %}default{% endtrans %})</option>
46+
<option value="{{ config['server']['limits']['default_items'] }}">{{ config['server']['limits']['default_items'] }} ({% trans %}default{% endtrans %})</option>
4747
<option value="100">100</option>
4848
<option value="1000">1,000</option>
4949
<option value="2000">2,000</option>

pygeoapi/templates/jobs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<div class="col-sm-12">
5353
{% trans %}Limit{% endtrans %}:
5454
<select id="limits">
55-
<option value="{{ config['server']['limit'] }}">{{ config['server']['limit'] }} ({% trans %}default{% endtrans %})</option>
55+
<option value="{{ config['server']['limits']['default_items'] }}">{{ config['server']['limits']['default_items'] }} ({% trans %}default{% endtrans %})</option>
5656
<option value="100">100</option>
5757
<option value="1000">1,000</option>
5858
<option value="2000">2,000</option>

0 commit comments

Comments
 (0)