Bugfix: stray anker name in pagination

This commit is contained in:
Johannes Schriewer 2025-01-06 03:17:45 +01:00
parent 34e845d14d
commit 558033e67e

View file

@ -1,6 +1,6 @@
{% load static %} {% load static %}
<div class="pagination" id="paginator_top"> <div class="pagination" id="{{ id }}">
{% if paginator.has_previous %} {% if paginator.has_previous %}
<a href="{{ url }}?{{ param }}_page=1#{{ id }}"><img src="{% static 'inventory/img/first.svg' %}" class="icon" title="First page"></a> <a href="{{ url }}?{{ param }}_page=1#{{ id }}"><img src="{% static 'inventory/img/first.svg' %}" class="icon" title="First page"></a>
<a href="{{ url }}?{{ param }}_page={{ paginator.previous_page_number }}#{{ id }}"><img src="{% static 'inventory/img/previous.svg' %}" class="icon" title="Previous page"></a> <a href="{{ url }}?{{ param }}_page={{ paginator.previous_page_number }}#{{ id }}"><img src="{% static 'inventory/img/previous.svg' %}" class="icon" title="Previous page"></a>