From 4777faf49bdd70df9f99a3ffd0ce33825b0a420f Mon Sep 17 00:00:00 2001 From: Ferran Marcet Date: Fri, 9 Sep 2016 14:02:27 +0200 Subject: [PATCH] Fix: Search all is lost on lists when pagination or when the columns are sorted --- htdocs/product/stock/list.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/htdocs/product/stock/list.php b/htdocs/product/stock/list.php index edbc30a5e97..e46ef0026d6 100644 --- a/htdocs/product/stock/list.php +++ b/htdocs/product/stock/list.php @@ -129,12 +129,6 @@ if ($result) $moreforfilter=''; - - if ($search_ref) $sql.= natural_search("e.label", $search_ref); // ref - if ($search_label) $sql.= natural_search("e.lieu", $search_label); // label - if ($search_status != '' && $search_status >= 0) $sql.= " AND e.statut = ".$search_status; - if ($sall) $sql .= natural_search(array_keys($fieldstosearchall), $sall); - print ''; print "";