diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-17 12:13:37 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-17 12:13:37 +0200 |
commit | c14a7c42519263bcbcbb9fb8d843ca18de9c5f01 (patch) | |
tree | cf53ba92f27ca2f55e3be667c6ba1e6ec85a2899 /src/Wallabag | |
parent | 80127e4fb1ce02825e9b2b985882b348e6f25ac2 (diff) | |
download | wallabag-c14a7c42519263bcbcbb9fb8d843ca18de9c5f01.tar.gz wallabag-c14a7c42519263bcbcbb9fb8d843ca18de9c5f01.tar.zst wallabag-c14a7c42519263bcbcbb9fb8d843ca18de9c5f01.zip |
fix #1350: fix pagination with filters
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | 2 |
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> |