fix(persons): include required detail fields in resolver
LocationBasedServices/smartguide/pipeline/head This commit looks good

This commit is contained in:
2026-06-19 14:29:50 +02:00
parent 013a3bd2a2
commit 5def7ac5f1
+4 -2
View File
@@ -7,8 +7,10 @@ export const personResolver: ResolveFn<CustomAuthorsListResponse> = (
state,
) => {
const PERSON_INCLUDE_TAGS =
'topics_full,topic_share,summary_stats,ids,last_known_institutions,' +
'sources,counts_by_year,works_api_url,dates,cited_by_count_boost,career_metrics';
'display_name,works_count,cited_by_count,summary_stats,ids,' +
'last_known_institutions,affiliations,topics,orcid,' +
'topics_full,topic_share,sources,counts_by_year,works_api_url,' +
'dates,cited_by_count_boost,career_metrics';
const authorId = route.paramMap.get('id') || undefined;
const personsService = inject(PersonsService);