From 230af380109061ca4d2e1a5e5900f72a556f1562 Mon Sep 17 00:00:00 2001 From: javieralapps4up Date: Wed, 13 Oct 2021 14:34:50 +0200 Subject: [PATCH 1/2] Update factures.php When the list is greater than $ conf-> liste_limit, no more pages are output --- htdocs/compta/prelevement/factures.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/compta/prelevement/factures.php b/htdocs/compta/prelevement/factures.php index c00c29e1c39..17755b535ff 100644 --- a/htdocs/compta/prelevement/factures.php +++ b/htdocs/compta/prelevement/factures.php @@ -220,6 +220,9 @@ if ($resql) { $num = $db->num_rows($resql); $i = 0; + if ($limit > 0 && $limit != $conf->liste_limit) { + $param.='&limit='.urlencode($limit); + } $param = "&id=".urlencode($id); // Lines of title fields From d264bbca3c43b10507c486c1e046768236a1afbb Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Wed, 13 Oct 2021 12:36:58 +0000 Subject: [PATCH 2/2] Fixing style errors. --- htdocs/compta/prelevement/factures.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/compta/prelevement/factures.php b/htdocs/compta/prelevement/factures.php index 17755b535ff..e5483a6c2fe 100644 --- a/htdocs/compta/prelevement/factures.php +++ b/htdocs/compta/prelevement/factures.php @@ -221,8 +221,8 @@ if ($resql) { $i = 0; if ($limit > 0 && $limit != $conf->liste_limit) { - $param.='&limit='.urlencode($limit); - } + $param.='&limit='.urlencode($limit); + } $param = "&id=".urlencode($id); // Lines of title fields