Private
Public Access
1
0

fixes issue #624

This commit is contained in:
Sander Roosendaal
2021-08-03 07:59:26 +02:00
parent b5537af783
commit 4b65cbf483
5 changed files with 21 additions and 11 deletions

View File

@@ -115,14 +115,14 @@
<i class="fas fa-arrow-alt-to-left"></i>
</a>
<a
href="?page={{ workouts.previous_page_number }}&q={{ request.GET.q }}">
href="?page={{ workouts.previous_page_number }}&q={{ request.GET.q }}&when={{ timeperiod }}">
<i class="fas fa-arrow-alt-left"></i>
</a>
{% else %}
<a href="?page=1">
<a href="?page=1&when={{ timeperiod }}">
<i class="fas fa-arrow-alt-to-left"></i>
</a>
<a href="?page={{ workouts.previous_page_number }}">
<a href="?page={{ workouts.previous_page_number }}&when={{ timeperiod }}">
<i class="fas fa-arrow-alt-left"></i>
</a>
{% endif %}
@@ -138,14 +138,14 @@
<i class="fas fa-arrow-alt-right"></i>
</a>
<a
href="?page={{ workouts.paginator.num_pages }}&q={{ request.GET.q }}">
href="?page={{ workouts.paginator.num_pages }}&q={{ request.GET.q }}&when={{ timeperiod }}">
<i class="fas fa-arrow-alt-to-right"></i>
</a>
{% else %}
<a href="{{ request.path }}?page={{ workouts.next_page_number }}&when={{ timeperiod }}">
<i class="fas fa-arrow-alt-right"></i>
</a>
<a href="?page={{ workouts.paginator.num_pages }}">
<a href="?page={{ workouts.paginator.num_pages }}&when={{ timeperiod }}">
<i class="fas fa-arrow-alt-to-right"></i>
</a>
{% endif %}