diff --git a/django/cantusdb_project/main_app/views/source.py b/django/cantusdb_project/main_app/views/source.py index 76d673695..ab26959e1 100644 --- a/django/cantusdb_project/main_app/views/source.py +++ b/django/cantusdb_project/main_app/views/source.py @@ -103,7 +103,9 @@ def get_queryset(self): volpiano_proofread = self.request.GET.get("volpiano_proofread") # get all chants in the specified source - chants: QuerySet[Chant] = source.chant_set.select_related("feast", "service", "genre") + chants: QuerySet[Chant] = source.chant_set.select_related( + "feast", "service", "genre" + ) # filter the chants with optional search params if feast_id: chants = chants.filter(feast__id=feast_id)