packageio: fix missing titles on AreaOfInterest objects
This commit is contained in:
parent
353535179f
commit
85107978cb
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ class MapItemOfInterestMixin:
|
|||
return result
|
||||
|
||||
|
||||
class GroupOfInterest(MapItem, MapItemOfInterestMixin):
|
||||
class GroupOfInterest(MapItemOfInterestMixin, MapItem):
|
||||
titles = JSONField()
|
||||
|
||||
class Meta:
|
||||
|
@ -48,7 +48,7 @@ class GroupOfInterest(MapItem, MapItemOfInterestMixin):
|
|||
default_related_name = 'groupsofinterest'
|
||||
|
||||
|
||||
class AreaOfInterest(GeometryMapItemWithLevel, MapItemOfInterestMixin):
|
||||
class AreaOfInterest(MapItemOfInterestMixin, GeometryMapItemWithLevel):
|
||||
titles = JSONField()
|
||||
groups = models.ManyToManyField(GroupOfInterest, verbose_name=_('Groups of Interest'), blank=True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue