diff --git a/src/program/views.py b/src/program/views.py index 6eecd0a6..3a084604 100644 --- a/src/program/views.py +++ b/src/program/views.py @@ -23,7 +23,7 @@ from . import models class ICSView(CampViewMixin, View): def get(self, request, *args, **kwargs): - eventinstances = models.EventInstance.objects.all() + eventinstances = models.EventInstance.objects.filter(event__camp=self.camp) type_ = request.GET.get('type', None) location = request.GET.get('location', None)