diff --git a/src/etools_datamart/apps/multitenant/views.py b/src/etools_datamart/apps/multitenant/views.py index b330fb626..0a749ed58 100644 --- a/src/etools_datamart/apps/multitenant/views.py +++ b/src/etools_datamart/apps/multitenant/views.py @@ -31,7 +31,7 @@ def get_initial(self): def get_success_url(self): self.params = dict(self.request.GET.items()) - _from = self.request.GET['from'] + _from = self.request.GET.getlist('from', ['/'])[0] if '_all' in self.selected: qs = self.get_query_string({}, ['from', 'country_name']) else: