Skip to content

Commit

Permalink
Merge pull request #2849 from bolt/bugfix/pager-doesnt-load-ellipsis
Browse files Browse the repository at this point in the history
Fixed not rendering ellipsis
  • Loading branch information
bobdenotter authored Oct 1, 2021
2 parents d9f1b47 + 22a9a33 commit 3eca92e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/helpers/_pager_basic.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Predefined variables:
{% with {'path': path(route, p), 'label': 1 } %}
{{ block('item') }}
{% endwith %}
{% with { 'label': '', 'enabled': false } %}
{% with { 'path': '', 'label': '', 'enabled': false } %}
{{ block('item') }}
{% endwith %}
{% endif %}
Expand All @@ -51,7 +51,7 @@ Predefined variables:

{# If we didn't finish with the last, add a link to the end #}
{% if end < records.nbPages %}
{% with { 'label': '', 'enabled': false } %}
{% with { 'path': '', 'label': '', 'enabled': false } %}
{{ block('item') }}
{% endwith %}
{% set p = routeParams|merge({page: records.nbPages}) %}
Expand Down

0 comments on commit 3eca92e

Please sign in to comment.