[Library | explore-redesign]: result-preview.component.html: [Bug fix] Added [relationName]="relationName" [provenanceAction]="provenanceAction" in <entity-metadata> to expose these info in Related Research in Result landing pages.

This commit is contained in:
Konstantina Galouni 2023-03-16 13:57:33 +02:00
parent 31bf756092
commit 2ccde6fba4
3 changed files with 4 additions and 1 deletions

View File

@ -10,6 +10,7 @@ import {Subscriber} from "rxjs";
import {properties} from "../../../../environments/environment";
import {OpenaireEntities} from "../../utils/properties/searchFields";
import {StringUtils} from "../../utils/string-utils.class";
import {ClaimProjectsSearchFormComponent} from "../claim-utils/claimProjectSearchForm.component";
@Component({

View File

@ -22,6 +22,7 @@ export class SearchResult {
authors: Author[];
countriesForResults: string[];
languages: string[];
hostedBy_collectedFrom: HostedByCollectedFrom[];
//datasets & orp & software:
publisher: string;
@ -44,7 +45,7 @@ export class SearchResult {
endYear: number;
openAccessMandatePublications: boolean;
openAccessMandateDatasets: boolean;
hostedBy_collectedFrom: HostedByCollectedFrom[];
//organizations:
country: string;

View File

@ -77,6 +77,7 @@
[languages]="result.languages" [programmingLanguages]="result.programmingLanguages"
[compatibilityString]="result.compatibility" [type]="type" [projects]="result.projects"
[subjects]="showSubjects?result.subjects:null" [organizations]="showOrganizations?result.organizations:null"
[relationName]="relationName" [provenanceAction]="provenanceAction"
></entity-metadata>
</div>
</div>