11{% extends "base.html" %}
22
3+ {% if params %}
4+ {% set urlq = url + '?' + params + '&' %}
5+ {% else %}
6+ {% set urlq = url + '?' %}
7+ {% endif %}
8+
39{% block content %}
410< nav aria-label ="breadcrumb ">
511 < ol class ="breadcrumb bg-light ">
@@ -24,7 +30,7 @@ <h1>Collections</h1>
2430{% else %}
2531< div class ="d-flex flex-row align-items-center mb-4 flex-wrap ">
2632 < div class ="mr-3 ">
27- Showing {{ offset + 1 }} - {{ offset + response.numberReturned }} of {{ response.numberMatched }} collections
33+ Showing {{ template.params.get(" offset", 0)|int + 1 }} - {{ template.params.get(" offset", 0)|int + response.numberReturned }} of {{ response.numberMatched }} collections
2834 </ div >
2935
3036 < form id ="search-form " class ="d-flex flex-wrap flex-grow-1 " style ="gap: 8px ">
@@ -43,10 +49,10 @@ <h1>Collections</h1>
4349 < div class ="d-flex ">
4450 < label for ="limit " class ="mr-1 small "> Page size:</ label >
4551 < select class ="form-control form-control-sm " id ="limit " aria-label ="Select page size " style ="width: 70px ">
46- < option value ="10 " {% if limit == 10 %}selected{% endif %} > 10</ option >
47- < option value ="25 " {% if limit == 25 %}selected{% endif %} > 25</ option >
48- < option value ="50 " {% if limit == 50 %}selected{% endif %} > 50</ option >
49- < option value ="100 " {% if limit == 100 %}selected{% endif %} > 100</ option >
52+ < option value ="10 " {% if template.params.get( " limit", 10)|int == 10 %}selected{% endif %} > 10</ option >
53+ < option value ="25 " {% if template.params.get( " limit", 10)|int == 25 %}selected{% endif %} > 25</ option >
54+ < option value ="50 " {% if template.params.get( " limit", 10)|int == 50 %}selected{% endif %} > 50</ option >
55+ < option value ="100 " {% if template.params.get( " limit", 10)|int == 100 %}selected{% endif %} > 100</ option >
5056 </ select >
5157 </ div >
5258
0 commit comments