From ffd435d9fff997dbc1f2959c16dc0597809f0300 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= <frederic.france@free.fr>
Date: Sun, 23 Nov 2014 01:20:02 +0100
Subject: [PATCH] Fix 1662 Search filter display discrepancy

---
 htdocs/product/list.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/htdocs/product/list.php b/htdocs/product/list.php
index f242121625f..907181634ee 100644
--- a/htdocs/product/list.php
+++ b/htdocs/product/list.php
@@ -129,6 +129,8 @@ else
 	{
 		$texte = $langs->trans("ProductsAndServices");
 	}
+    // Add what we are searching for
+    if (! empty($sall)) $texte.= " - ".$sall;
 
     $sql = 'SELECT DISTINCT p.rowid, p.ref, p.label, p.barcode, p.price, p.price_ttc, p.price_base_type,';
     $sql.= ' p.fk_product_type, p.tms as datem,';
-- 
GitLab