effective_label_settings
This commit is contained in:
parent
d254f199e3
commit
16bf017740
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue