Revert "fix: pagination index"

This reverts commit efab224ec3.
This commit is contained in:
Cory Dransfeldt 2024-05-03 09:35:01 -07:00
parent 83b24ebe60
commit 9fd08747c0
No known key found for this signature in database

View file

@ -15,7 +15,7 @@
<select-pagination> <select-pagination>
<select aria-label="Page selection"> <select aria-label="Page selection">
{% for pageEntry in pagination.pages %} {% for pageEntry in pagination.pages %}
<option value="{{ forloop.index }}">{{ forloop.index }} of {{ pagination.links.size }}</option> <option value="{{ forloop.index | minus: 1 }}">{{ forloop.index }} of {{ pagination.links.size }}</option>
{% endfor %} {% endfor %}
</select> </select>
<noscript> <noscript>
@ -36,4 +36,4 @@
{% tablericon "arrow-right" "Next" %} {% tablericon "arrow-right" "Next" %}
</span> </span>
{% endif %} {% endif %}
</nav> </nav>