Commit 831c7902 authored by robin Tissot's avatar robin Tissot Committed by Robin

Add country to the available representatives filters.

parent b86bd272
......@@ -2,7 +2,7 @@
<nav class="text-center">
<ul class="pagination">
{% if page_obj.has_previous %}
<li><a href="?page={{ page_obj.previous_page_number }}" aria-label="Previous">
<li><a href="?{{searchparameters.urlencode}}&page={{ page_obj.previous_page_number }}" aria-label="Previous">
<span aria-hidden="true">&laquo;</span></a>
</li>
{% else %}
......@@ -11,13 +11,13 @@
{% for page in paginator.page_range %}
{% if page_obj.number|add:"5" > page and page_obj.number|add:"-5" < page %}
<li {% if page == page_obj.number %}class="active"{% endif %}><a href="?page={{page}}">{{ page }}</a></li>
<li {% if page == page_obj.number %}class="active"{% endif %}><a href="?{{searchparameters}}&page={{page}}">{{ page }}</a></li>
{% endif %}
{% endfor %}
{% if page_obj.has_next %}
<li>
<a href="?page={{ page_obj.next_page_number }}" aria-label="Next"><span aria-hidden="true">&raquo;</span></a>
<a href="?{{searchparameters}}&page={{ page_obj.next_page_number }}" aria-label="Next"><span aria-hidden="true">&raquo;</span></a>
</li>
{% else %}
<li class="disabled"><span aria-hidden="true">&raquo;</span></li>
......
Markdown is supported
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