Commits

Sebastián Magrí committed b0291ad

Include missing fields in utils.event_form_data_to_doc, fixing issue where url and address where not updated after changing an event

  • Participants
  • Parent commits 67f2a93

Comments (0)

Files changed (1)

     act['when'] = when
     act['tags'] = tags
     act['type'] = event_type
+    act['url'] = form.url.data
     if event_type == 'virtual':
         act['url'] = form.url.data
     else:
+        act['address'] = form.address.data
         act['where']['lat'] = form.where_lat.data
         act['where']['lon'] = form.where_lon.data
         act['where']['address'] = form.address.data