Split typed list/grid elements into normal and search result

This commit is contained in:
lotte
2019-10-03 16:26:58 +02:00
parent 5b6aa951ad
commit 9badabade6
146 changed files with 2094 additions and 860 deletions

View File

@@ -45,15 +45,15 @@ export class ProjectComponent extends ItemComponent implements OnInit {
this.contributors$ = this.buildRepresentations('OrgUnit', 'project.contributor.other');
this.people$ = this.resolvedRelsAndTypes$.pipe(
getRelatedItemsByTypeLabel(this.item.id, 'isPersonOfProject')
getRelatedItemsByTypeLabel(this.object.id, 'isPersonOfProject')
);
this.publications$ = this.resolvedRelsAndTypes$.pipe(
getRelatedItemsByTypeLabel(this.item.id, 'isPublicationOfProject')
getRelatedItemsByTypeLabel(this.object.id, 'isPublicationOfProject')
);
this.orgUnits$ = this.resolvedRelsAndTypes$.pipe(
getRelatedItemsByTypeLabel(this.item.id, 'isOrgUnitOfProject')
getRelatedItemsByTypeLabel(this.object.id, 'isOrgUnitOfProject')
);
}
}