diff --git a/src/c3nav/mapdata/schemas/model_base.py b/src/c3nav/mapdata/schemas/model_base.py index f91eb763..d3a7cfdd 100644 --- a/src/c3nav/mapdata/schemas/model_base.py +++ b/src/c3nav/mapdata/schemas/model_base.py @@ -76,8 +76,11 @@ class LocationSchema(WithAccessRestrictionSchema, TitledSchema, LocationSlugSche can_describe: bool = APIField( title="can describe locations", ) - # todo: add_search - + add_search: Optional[str] = APIField( + None, + title="more data for search index, only set when looking for searchable locations" + ) + class LabelSettingsSchema(DjangoModelSchema): # todo: add titles back in here """