diff --git a/files/templates/pagination.html b/files/templates/pagination.html index 41c94c9c2..1e418cb39 100644 --- a/files/templates/pagination.html +++ b/files/templates/pagination.html @@ -1,6 +1,9 @@ + {% if not size %} + {% set size = PAGE_SIZE %} + {% endif %} {% set num_pages = (next_exists / size) | round(0, 'ceil') | int %} {% set start_point = page - 2 %}