[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:
parent
31bf756092
commit
2ccde6fba4
|
@ -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({
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue