Skip to content

Commit

Permalink
fix authorlist
Browse files Browse the repository at this point in the history
  • Loading branch information
longhotsummer committed Nov 22, 2024
1 parent e6bd95c commit 3d8e6e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peachjam_search/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def prepare_attorneys(self, instance):

def prepare_authors(self, instance):
if hasattr(instance, "author"):
return [a.name for a in instance.author_list]
return [a.name for a in instance.author_list()]

def prepare_content(self, instance):
"""Text content of document body for non-PDFs."""
Expand Down

0 comments on commit 3d8e6e3

Please sign in to comment.