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
This commit is contained in:
argirok 2021-12-17 14:35:18 +02:00
parent 983961282d
commit 55ec94b95f
2 changed files with 3 additions and 2 deletions

View File

@ -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};
}
}

View File

@ -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)