From 843798505a4e31dcb37306bf45889fc5b2fc2238 Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 4 May 2020 11:40:02 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B02974=20-=20Fix=20Global=20Search=20doesn?= =?UTF-8?q?'t=20search=20in=20external=20field=20The=20IsSearchable()=20ch?= =?UTF-8?q?eck=20was=20wrong=20for=20some=20attributes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/attributedef.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/attributedef.class.inc.php b/core/attributedef.class.inc.php index 30ebb8e23..ade678f76 100644 --- a/core/attributedef.class.inc.php +++ b/core/attributedef.class.inc.php @@ -156,7 +156,7 @@ abstract class AttributeDefinition */ public function IsSearchable() { - return static::SEARCH_WIDGET_TYPE != static::SEARCH_WIDGET_TYPE_RAW; + return $this->GetSearchType() != static::SEARCH_WIDGET_TYPE_RAW; } /** @var string */