From 55ec94b95fa41333036d2b2544f9a93da215dd8b Mon Sep 17 00:00:00 2001 From: argirok Date: Fri, 17 Dec 2021 14:35:18 +0200 Subject: [PATCH] Subjects: add subjects section in home page. add 50 in the link to the search results update login properties beta/test Landing allow index off newly added records - zenodo --- landingPages/landing-utils/showSubjects.component.ts | 2 +- landingPages/result/resultLanding.component.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/landingPages/landing-utils/showSubjects.component.ts b/landingPages/landing-utils/showSubjects.component.ts index 890b7628..847f3ee7 100644 --- a/landingPages/landing-utils/showSubjects.component.ts +++ b/landingPages/landing-utils/showSubjects.component.ts @@ -83,6 +83,6 @@ export class ShowSubjectsComponent { return Array.from(map.keys()); } getSubjectParameter(param){ - return {'f0':'resultsubject','fv0':'"' +(param)+'"'}; + return {'f0':'resultsubject','fv0':'"' +(param)+'"', size:50}; } } diff --git a/landingPages/result/resultLanding.component.ts b/landingPages/result/resultLanding.component.ts index 7b295a5e..96490748 100644 --- a/landingPages/result/resultLanding.component.ts +++ b/landingPages/result/resultLanding.component.ts @@ -660,7 +660,8 @@ export class ResultLandingComponent { if(!(this.properties.environment == "production" || this.properties.environment == "development") ) { return true; }else { - let allow = !!(!resultLandingInfo.underCurationMessage && + let allow = !!( + // !resultLandingInfo.underCurationMessage && ((resultLandingInfo.fundedByProjects && resultLandingInfo.fundedByProjects.length > 0) || resultLandingInfo.journal || (resultLandingInfo.classifiedSubjects && resultLandingInfo.classifiedSubjects.size > 0)