diff --git a/src/Models/Link.php b/src/Models/Link.php index d49aabc..536deab 100644 --- a/src/Models/Link.php +++ b/src/Models/Link.php @@ -67,7 +67,17 @@ class Link extends DataObject 'LinkType', 'LinkURL', ]; - + + /** + * @var array + */ + private static $searchable_fields = [ + 'Title' => 'PartialMatchFilter', + 'URL' => 'PartialMatchFilter', + 'Phone' => 'PartialMatchFilter', + 'Email' => 'PartialMatchFilter', + ]; + /** * A map of templates that are available for rendering * Link objects with