diff --git a/src/api/views/maps.py b/src/api/views/maps.py index 2a7d70b3409c82edea057e8c00d08a109662a5ab..030f68178fedeb857781b1095cad66919d99bfe9 100644 --- a/src/api/views/maps.py +++ b/src/api/views/maps.py @@ -140,7 +140,7 @@ class C3NavExportView(ConferenceSlugMixin, APIView): exportable_states = [*Assembly.PLACED_STATES, Assembly.State.HIDDEN] qs = self.conference.assemblies.filter(state_assembly__in=exportable_states) if request.GET.get('all') != '1': - qs = qs.exclude(location_point=None, location_boundaries=None) + qs = qs.exclude(location_data__point=None, location_data__boundaries=None) for assembly in qs: # type: Assembly loc_data = assembly.location_data or {} data.append(