Skip to content

Commit

Permalink
feat(rdfimport): include DOB, DOD for Persons
Browse files Browse the repository at this point in the history
Include dateOfBirth, dateOfDeath in 'format' parameter
in LobidAutocompleteAdapter for Persons.
  • Loading branch information
koeaw committed Sep 9, 2024
1 parent 2b05ae8 commit ef0ccf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis_ontology/querysets.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class PersonExternalAutocomplete(ExternalAutocomplete):
template="apis_ontology/generic_external_autocomplete_result.html",
params={
"filter": "type:Person",
"format": "json:preferredName,professionOrOccupation",
"format": "json:preferredName,*_dateOfBirth,†_dateOfDeath,professionOrOccupation",
},
),
]
Expand Down

0 comments on commit ef0ccf5

Please sign in to comment.