From 1431f81d5c98f66dbd07cbc728bed71c19844b2d Mon Sep 17 00:00:00 2001 From: Tomasz Kryszan Date: Thu, 19 Oct 2023 16:10:15 +0200 Subject: [PATCH] Set Image Field Type as searchable --- src/lib/FieldType/Image/Type.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/FieldType/Image/Type.php b/src/lib/FieldType/Image/Type.php index 76bf759125..c369118406 100644 --- a/src/lib/FieldType/Image/Type.php +++ b/src/lib/FieldType/Image/Type.php @@ -409,6 +409,11 @@ public static function getTranslationMessages(): array Message::create('ezimage.name', 'ibexa_fieldtypes')->setDesc('Image'), ]; } + + public function isSearchable(): bool + { + return true; + } } class_alias(Type::class, 'eZ\Publish\Core\FieldType\Image\Type');