Commit 6e08a31e authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Fix keeping get-parameters with paging

parent 8095b998
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
{% if _page_length is none %} {% if _page_length is none %}
{% set _page_length = page_length %} {% set _page_length = page_length %}
{% endif %} {% endif %}
<a href="{{url_for(request.endpoint, page=_page, protocoltype=protocoltype_id, search=search_term, decisioncategory_id=decisioncategory_id, page_length=_page_length)}}">{{text}}</a> <a href="{{url_for(request.endpoint, page=_page, protocoltype_id=protocoltype_id, search=search_term, decisioncategory_id=decisioncategory_id, page_length=_page_length)}}">{{text}}</a>
{% endmacro %} {% endmacro %}
{% block content %} {% block content %}
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
{% if _page_length is none %} {% if _page_length is none %}
{% set _page_length = page_length %} {% set _page_length = page_length %}
{% endif %} {% endif %}
<a href="{{url_for(request.endpoint, page=_page, protocoltype=protocoltype_id, search=search_term, state_open=state_open, page_length=_page_length)}}">{{text}}</a> <a href="{{url_for(request.endpoint, page=_page, protocoltype_id=protocoltype_id, search=search_term, state_open=state_open, page_length=_page_length)}}">{{text}}</a>
{% endmacro %} {% endmacro %}
{% block content %} {% block content %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment