From 341d1efb1159b3f77dbc844f96c9d7fe215b0b01 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 12 Apr 2018 23:42:06 +0200 Subject: [PATCH] Fix clear filter must not lose type --- htdocs/product/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/list.php b/htdocs/product/list.php index a0779a27e45..04f0bca71f9 100644 --- a/htdocs/product/list.php +++ b/htdocs/product/list.php @@ -220,7 +220,7 @@ if (empty($reshook)) $search_tosell=""; $search_tobuy=""; $search_tobatch=''; - $search_type=''; + //$search_type=''; // There is 2 types of list: a list of product and a list of services. No list with both. So when we clear search criteria, we must keep the filter on type. $search_accountancy_code_sell=''; $search_accountancy_code_buy=''; $search_array_options=array();