From 12a3ce77466f835f6dfe7d75f0ba98d6a44200a8 Mon Sep 17 00:00:00 2001 From: simnandez Date: Thu, 19 Apr 2012 19:10:21 +0200 Subject: [PATCH] Fix: [ bug #368 ] Product list --- htdocs/product/liste.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/product/liste.php b/htdocs/product/liste.php index 4338139e62c..6663a9f527e 100644 --- a/htdocs/product/liste.php +++ b/htdocs/product/liste.php @@ -82,6 +82,7 @@ if (isset($_POST["button_removefilter_x"])) $sref=""; $sbarcode=""; $snom=""; + $search_categ=0; } if ($conf->categorie->enabled && GETPOST('catid')) @@ -190,6 +191,7 @@ else $param="&sref=".$sref.($sbarcode?"&sbarcode=".$sbarcode:"")."&snom=".$snom."&sall=".$sall."&tosell=".$tosell."&tobuy=".$tobuy; $param.=($fourn_id?"&fourn_id=".$fourn_id:""); + $param.=($search_categ?"&search_categ=".$search_categ:""); $param.=isset($type)?"&type=".$type:""; print_barre_liste($texte, $page, "liste.php", $param, $sortfield, $sortorder,'',$num);