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 */