We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7cf1c2 commit e63ca4bCopy full SHA for e63ca4b
src/unfold/templates/unfold/helpers/pagination_infinite.html
@@ -5,7 +5,7 @@
5
{% trans "Previous" %}
6
</a>
7
8
- <a {% if cl.result_list|length %}href="{% infinite_paginator_url cl cl.page_num|add:1 %}"{% endif %} class="{% if cl.result_list|length %}hover:text-primary-600 dark:hover:text-primary-500{% endif %}">
+ <a {% if cl.result_list|length == cl.paginator.per_page %}href="{% infinite_paginator_url cl cl.page_num|add:1 %}"{% endif %} class="{% if cl.result_list|length and cl.result_list|length == cl.paginator.per_page %}hover:text-primary-600 dark:hover:text-primary-500{% endif %}">
9
{% trans "Next" %}
10
11
</div>
0 commit comments