[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 {properties} from "../../../../environments/environment";
|
||||||
import {OpenaireEntities} from "../../utils/properties/searchFields";
|
import {OpenaireEntities} from "../../utils/properties/searchFields";
|
||||||
import {StringUtils} from "../../utils/string-utils.class";
|
import {StringUtils} from "../../utils/string-utils.class";
|
||||||
|
import {ClaimProjectsSearchFormComponent} from "../claim-utils/claimProjectSearchForm.component";
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
|
|
@ -22,6 +22,7 @@ export class SearchResult {
|
||||||
authors: Author[];
|
authors: Author[];
|
||||||
countriesForResults: string[];
|
countriesForResults: string[];
|
||||||
languages: string[];
|
languages: string[];
|
||||||
|
hostedBy_collectedFrom: HostedByCollectedFrom[];
|
||||||
|
|
||||||
//datasets & orp & software:
|
//datasets & orp & software:
|
||||||
publisher: string;
|
publisher: string;
|
||||||
|
@ -44,7 +45,7 @@ export class SearchResult {
|
||||||
endYear: number;
|
endYear: number;
|
||||||
openAccessMandatePublications: boolean;
|
openAccessMandatePublications: boolean;
|
||||||
openAccessMandateDatasets: boolean;
|
openAccessMandateDatasets: boolean;
|
||||||
hostedBy_collectedFrom: HostedByCollectedFrom[];
|
|
||||||
//organizations:
|
//organizations:
|
||||||
country: string;
|
country: string;
|
||||||
|
|
||||||
|
|
|
@ -77,6 +77,7 @@
|
||||||
[languages]="result.languages" [programmingLanguages]="result.programmingLanguages"
|
[languages]="result.languages" [programmingLanguages]="result.programmingLanguages"
|
||||||
[compatibilityString]="result.compatibility" [type]="type" [projects]="result.projects"
|
[compatibilityString]="result.compatibility" [type]="type" [projects]="result.projects"
|
||||||
[subjects]="showSubjects?result.subjects:null" [organizations]="showOrganizations?result.organizations:null"
|
[subjects]="showSubjects?result.subjects:null" [organizations]="showOrganizations?result.organizations:null"
|
||||||
|
[relationName]="relationName" [provenanceAction]="provenanceAction"
|
||||||
></entity-metadata>
|
></entity-metadata>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue