From 22a9a33bde811a14fe6e203722d689ef82e0f2f1 Mon Sep 17 00:00:00 2001 From: Joost <40595903+Joossensei@users.noreply.github.com> Date: Thu, 30 Sep 2021 14:34:44 +0200 Subject: [PATCH] Update _pager_basic.html.twig --- templates/helpers/_pager_basic.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/helpers/_pager_basic.html.twig b/templates/helpers/_pager_basic.html.twig index 4029aa5dd..c60491204 100644 --- a/templates/helpers/_pager_basic.html.twig +++ b/templates/helpers/_pager_basic.html.twig @@ -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 %} @@ -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}) %}