filter 2 page remove from filter page

This commit is contained in:
fjrodriguez
2022-12-05 09:56:04 -06:00
parent 896e39644f
commit 4604c0894c
9 changed files with 64 additions and 14 deletions

View File

@@ -1,4 +1,6 @@
{% if lista.has_other_pages %}
<nav>
<ul class="pagination justify-content-center">
{% if lista.has_previous %}
@@ -17,7 +19,7 @@
{% if lista.number == p %}
<li class="page-item"><a class="page-link" style="color: red;" href="#">{{ p }}</a></li>
{% else %}
<li class="page-item"><a class="page-link" href="?page={{ p }}">{{ p }}</a></li>
<li class="page-item"><a class="page-link" href="?page={{ p }}{% for i,v in filters.items %}&{{i}}={{v}}{% endfor%}">{{ p }}</a></li>
{% endif %}
{% endfor %}