From d8e5fbc662b3f4359823bfd7332926b75cd4a3ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Salvador?= Date: Wed, 4 Sep 2013 15:50:36 +0200 Subject: [PATCH] keep the alert filter when changing page --- htdocs/product/stock/replenish.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/product/stock/replenish.php b/htdocs/product/stock/replenish.php index 29823d81ca7..7f93c77878f 100644 --- a/htdocs/product/stock/replenish.php +++ b/htdocs/product/stock/replenish.php @@ -233,7 +233,7 @@ if ($resql) { dol_fiche_head($head, 'replenish', $langs->trans('Replenishment'), 0, 'stock'); if ($sref || $snom || $sall || GETPOST('search', 'alpha')) { $filters = '&sref=' . $sref . '&snom=' . $snom; - $filters .= '&sall=' . $sall; + $filters .= '&sall=' . $sall . '&salert=' . $salert; print_barre_liste($texte, $page, 'replenish.php', @@ -244,7 +244,7 @@ if ($resql) { $num ); } else { - $filters = '&sref=' . $sref . '&snom=' . $snom; + $filters = '&sref=' . $sref . '&snom=' . $snom . '&salert=' . $salert; $filters .= '&fourn_id=' . $fourn_id; $filters .= (isset($type)?'&type=' . $type:''); print_barre_liste($texte, @@ -268,7 +268,7 @@ if ($resql) { ''; $param = (isset($type)? '&type=' . $type : ''); - $param .= '&fourn_id=' . $fourn_id . '&snom='. $snom; + $param .= '&fourn_id=' . $fourn_id . '&snom='. $snom . '&salert=' . $salert; $param .= '&sref=' . $sref; // Lignes des titres