From 6f6b654dba3936e6feab185c61e6a7623b2ff3d4 Mon Sep 17 00:00:00 2001 From: Eric Date: Tue, 22 Oct 2019 18:18:07 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B01113=20-=20Global=20search=20only=20sear?= =?UTF-8?q?chable=20attributes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/dbobjectsearch.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/dbobjectsearch.class.php b/core/dbobjectsearch.class.php index 61e192485..2044b41a1 100644 --- a/core/dbobjectsearch.class.php +++ b/core/dbobjectsearch.class.php @@ -622,7 +622,7 @@ class DBObjectSearch extends DBSearch { if (!$oAttDef->IsScalar()) continue; if ($oAttDef->IsExternalKey()) continue; - if ($oAttDef instanceof AttributePassword) continue; + if (!$oAttDef->IsSearchable()) continue; $aFullTextFields[] = new FieldExpression($sAttCode, $this->GetClassAlias()); } $oTextFields = new CharConcatWSExpression(' ', $aFullTextFields);