Skip to content

Commit

Permalink
fix: .name should be .related_institution.name
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rger committed Feb 20, 2024
1 parent 32d22e5 commit 96ee888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viecpro_typesense/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def func(x): return [f.name for f in x.institution_relationtype_set.all()]


class ParsePersonInstitutionHandler(Handler):
def func(x): return [f.name for f in x.personinstitution_set.all()]
def func(x): return [f.related_institution.name for f in x.personinstitution_set.all()]


class GenericDocIDHandler(Handler):
Expand Down

0 comments on commit 96ee888

Please sign in to comment.