From b13a9f57aff3e455901ba51e3fc26abfb8d89aca Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 27 Jan 2022 21:10:13 +0000 Subject: fix for #1659 --- include/text.php | 1 + view/tpl/alt_pager.tpl | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/text.php b/include/text.php index 05bf2bc7c..aea8790fc 100644 --- a/include/text.php +++ b/include/text.php @@ -586,6 +586,7 @@ function alt_pager($i, $more = '', $less = '') { '$less' => $less, '$more' => $more, '$url' => $url, + '$url_appendix' => ((strpos($url, '?')) ? '&' : '?'), '$prevpage' => App::$pager['page'] - 1, '$nextpage' => App::$pager['page'] + 1, )); diff --git a/view/tpl/alt_pager.tpl b/view/tpl/alt_pager.tpl index 94fa93401..23d57327c 100644 --- a/view/tpl/alt_pager.tpl +++ b/view/tpl/alt_pager.tpl @@ -1,4 +1,4 @@
-{{if $has_less}}{{$less}}{{/if}} -{{if $has_more}}{{if $has_less}} | {{/if}}{{$more}}{{/if}} +{{if $has_less}}{{$less}}{{/if}} +{{if $has_more}}{{if $has_less}} | {{/if}}{{$more}}{{/if}}
-- cgit v1.2.3