Skip to content

Commit

Permalink
#2844 Make the page slice size smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
joemull authored and mauromsl committed Apr 27, 2022
1 parent 6dcf8ff commit 3f18195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/common/elements/pagination.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<li><button name="page" value="{{ page_obj.previous_page_number }}">&laquo;</button></li>
{% endif %}

{% for page in page_obj|slice_pages_with_first_last_ellipsis:3 %}
{% for page in page_obj|slice_pages_with_first_last_ellipsis:2 %}
{% if page == '...' %}
<li>...</li>
{% else %}
Expand Down

0 comments on commit 3f18195

Please sign in to comment.