From 16bf0177405c4c93f38a129e29c75f9da586d4c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Tue, 3 Dec 2024 15:19:28 +0100 Subject: [PATCH] effective_label_settings --- src/c3nav/mapdata/models/locations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c3nav/mapdata/models/locations.py b/src/c3nav/mapdata/models/locations.py index f258a29a..ef87ffa1 100644 --- a/src/c3nav/mapdata/models/locations.py +++ b/src/c3nav/mapdata/models/locations.py @@ -117,7 +117,7 @@ class Location(LocationSlug, AccessRestrictionMixin, TitledMixin, models.Model): result = super().serialize(detailed=detailed, **kwargs) if not detailed: fields = ('id', 'type', 'slug', 'title', 'subtitle', 'icon', 'point', 'bounds', 'grid_square', - 'locations', 'on_top_of', 'label_settings', 'label_override', 'add_search', 'dynamic', + 'locations', 'on_top_of', 'effective_label_settings', 'label_override', 'add_search', 'dynamic', 'locationtype', 'geometry') result = {name: result[name] for name in fields if name in result} return result