Fix broken new event form
This commit is contained in:
parent
a3a636f5c0
commit
d5217c14f3
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ def update_event_searchable(event):
|
|||
searchable.longitude = event.place.longitude or None
|
||||
searchable.latitude = event.place.latitude
|
||||
else:
|
||||
searchable.location_name = team.location_name
|
||||
searchable.location_name = event.team.location_name
|
||||
searchable.longitude = None
|
||||
searchable.latitude = None
|
||||
searchable.save()
|
||||
|
|
Loading…
Reference in a new issue