Skip to content

Commit

Permalink
fix(cantusindex): convert zip iterator to list in CISearchView context
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmarchd01 committed Jun 20, 2024
1 parent 8ec1be5 commit da68ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/cantusdb_project/main_app/views/chant.py
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ def get_context_data(self, **kwargs):
if len(cantus_id) == 0:
context["results"] = [["No results", "No results", "No results"]]
else:
context["results"] = zip(cantus_id, genre, full_text)
context["results"] = list(zip(cantus_id, genre, full_text))
return context


Expand Down

0 comments on commit da68ff5

Please sign in to comment.