aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-17 12:13:37 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-17 12:13:37 +0200
commitc14a7c42519263bcbcbb9fb8d843ca18de9c5f01 (patch)
treecf53ba92f27ca2f55e3be667c6ba1e6ec85a2899 /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
parent80127e4fb1ce02825e9b2b985882b348e6f25ac2 (diff)
downloadwallabag-c14a7c42519263bcbcbb9fb8d843ca18de9c5f01.tar.gz
wallabag-c14a7c42519263bcbcbb9fb8d843ca18de9c5f01.tar.zst
wallabag-c14a7c42519263bcbcbb9fb8d843ca18de9c5f01.zip
fix #1350: fix pagination with filters
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
index 7777dc7f..e6104836 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
@@ -22,7 +22,7 @@
22 <ul class="pagination right"> 22 <ul class="pagination right">
23 {% for p in range(1, entries.nbPages) if entries.nbPages > 1 %} 23 {% for p in range(1, entries.nbPages) if entries.nbPages > 1 %}
24 <li class="{{ currentPage == p ? 'active':'waves-effect'}}"> 24 <li class="{{ currentPage == p ? 'active':'waves-effect'}}">
25 <a href="{{ path(app.request.attributes.get('_route'), {'page': p}) }}" >{{ p }}</a> 25 <a href="{{ path(app.request.attributes.get('_route'), app.request.query.all|merge({'page': p})) }}" >{{ p }}</a>
26 </li> 26 </li>
27 {% endfor %} 27 {% endfor %}
28 </div> 28 </div>