Fix type error

This commit is contained in:
cuom1999 2024-05-14 13:47:22 -05:00
parent adb7c182d8
commit 5d79374b92

View file

@ -491,6 +491,7 @@ class SubmissionsListBase(DiggPaginatorMixin, TitleMixin, ListView):
self.selected_languages = request.GET.getlist("language") self.selected_languages = request.GET.getlist("language")
self.selected_statuses = request.GET.getlist("status") self.selected_statuses = request.GET.getlist("status")
self.selected_languages_key = []
if self.selected_languages: if self.selected_languages:
languages = Language.objects.filter(key__in=self.selected_languages).values( languages = Language.objects.filter(key__in=self.selected_languages).values(