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:
parent
983961282d
commit
55ec94b95f
|
@ -83,6 +83,6 @@ export class ShowSubjectsComponent {
|
||||||
return Array.from(map.keys());
|
return Array.from(map.keys());
|
||||||
}
|
}
|
||||||
getSubjectParameter(param){
|
getSubjectParameter(param){
|
||||||
return {'f0':'resultsubject','fv0':'"' +(param)+'"'};
|
return {'f0':'resultsubject','fv0':'"' +(param)+'"', size:50};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -660,7 +660,8 @@ export class ResultLandingComponent {
|
||||||
if(!(this.properties.environment == "production" || this.properties.environment == "development") ) {
|
if(!(this.properties.environment == "production" || this.properties.environment == "development") ) {
|
||||||
return true;
|
return true;
|
||||||
}else {
|
}else {
|
||||||
let allow = !!(!resultLandingInfo.underCurationMessage &&
|
let allow = !!(
|
||||||
|
// !resultLandingInfo.underCurationMessage &&
|
||||||
((resultLandingInfo.fundedByProjects && resultLandingInfo.fundedByProjects.length > 0)
|
((resultLandingInfo.fundedByProjects && resultLandingInfo.fundedByProjects.length > 0)
|
||||||
|| resultLandingInfo.journal
|
|| resultLandingInfo.journal
|
||||||
|| (resultLandingInfo.classifiedSubjects && resultLandingInfo.classifiedSubjects.size > 0)
|
|| (resultLandingInfo.classifiedSubjects && resultLandingInfo.classifiedSubjects.size > 0)
|
||||||
|
|
Loading…
Reference in New Issue