only allow searching for locations with can_search=True
This commit is contained in:
parent
0fb4dda274
commit
c9dafa7942
5 changed files with 18 additions and 19 deletions
|
@ -213,7 +213,6 @@ class AreaLocation(LocationModelMixin, GeometryMapItemWithLevel):
|
|||
|
||||
def get_geojson_properties(self):
|
||||
result = super().get_geojson_properties()
|
||||
result['groups'] = tuple(self.groups.all().order_by('name').values_list('name', flat=True))
|
||||
return result
|
||||
|
||||
def tofile(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue