From 611bf3035f6c2a53eabe826ee6b4713f69091911 Mon Sep 17 00:00:00 2001 From: Eric Date: Tue, 22 Oct 2019 09:56:09 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B01113=20-=20AttributePassword=20content?= =?UTF-8?q?=20searchable=20in=20Global=20Search=20The=20global=20search=20?= =?UTF-8?q?now=20avoid=20AttributePassword=20type=20of=20attributes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/dbobjectsearch.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/dbobjectsearch.class.php b/core/dbobjectsearch.class.php index f4eab0824..61e192485 100644 --- a/core/dbobjectsearch.class.php +++ b/core/dbobjectsearch.class.php @@ -622,6 +622,7 @@ class DBObjectSearch extends DBSearch { if (!$oAttDef->IsScalar()) continue; if ($oAttDef->IsExternalKey()) continue; + if ($oAttDef instanceof AttributePassword) continue; $aFullTextFields[] = new FieldExpression($sAttCode, $this->GetClassAlias()); } $oTextFields = new CharConcatWSExpression(' ', $aFullTextFields);