diff --git a/src/Model/LocationCategory.php b/src/Model/LocationCategory.php index c6cc750..710e21c 100644 --- a/src/Model/LocationCategory.php +++ b/src/Model/LocationCategory.php @@ -52,6 +52,23 @@ class LocationCategory extends DataObject 'Locations' => Location::class, ]; + /** + * @var array + * @config + */ + private static array $summary_fields = [ + 'Title' => 'Title', + 'Locations.Count' => 'Locations', + ]; + + /** + * @var array + * @config + */ + private static array $searchable_fields = [ + 'Title', + ]; + /** * @param bool $includerelations * @return array