From 230af380109061ca4d2e1a5e5900f72a556f1562 Mon Sep 17 00:00:00 2001 From: javieralapps4up Date: Wed, 13 Oct 2021 14:34:50 +0200 Subject: [PATCH] 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