diff --git a/landingPages/result/resultLanding.component.ts b/landingPages/result/resultLanding.component.ts
index bc25c014..ad3d0311 100644
--- a/landingPages/result/resultLanding.component.ts
+++ b/landingPages/result/resultLanding.component.ts
@@ -134,7 +134,6 @@ export class ResultLandingComponent {
public isLoggedIn: boolean = false;
public pid: string;
- // @ViewChild("annotation") annotation: AnnotationComponent;
public contextsWithLink: any;
public relatedClassFilters: Option[]=[{"label": "All relations", "value": ""}];
diff --git a/landingPages/result/resultLanding.module.ts b/landingPages/result/resultLanding.module.ts
index 3803a598..247c8a99 100644
--- a/landingPages/result/resultLanding.module.ts
+++ b/landingPages/result/resultLanding.module.ts
@@ -20,7 +20,6 @@ import {ShowAuthorsModule} from "../../utils/authors/showAuthors.module";
import {HelperModule} from "../../utils/helper/helper.module";
import {ResultLandingUtilsModule} from "../landing-utils/resultLandingUtils.module";
import {AlertModalModule} from "../../utils/modal/alertModal.module";
-import {AnnotationModule} from "../annotation/annotation.module";
import {LandingHeaderModule} from "../landing-utils/landing-header/landing-header.module";
import {NoLoadPaging} from "../../searchPages/searchUtils/no-load-paging.module";
import {ResultPreviewModule} from "../../utils/result-preview/result-preview.module";
@@ -45,7 +44,7 @@ import {EntityActionsModule} from "../../utils/entity-actions/entity-actions.mod
CiteThisModule, PagingModule, IFrameModule,
AltMetricsModule, Schema2jsonldModule, SEOServiceModule,
DeletedByInferenceModule, ShowAuthorsModule, HelperModule, ResultLandingUtilsModule, AlertModalModule,
- AnnotationModule, LandingHeaderModule, NoLoadPaging, ResultPreviewModule, FeedbackModule, TabsModule, LoadingModule,
+ LandingHeaderModule, NoLoadPaging, ResultPreviewModule, FeedbackModule, TabsModule, LoadingModule,
OrcidModule, IconsModule, InputModule, EGIDataTransferModule, RecaptchaModule,
SdgFosSuggestModule, FullScreenModalModule, SafeHtmlPipeModule, EntityActionsModule
],
diff --git a/landingPages/result/resultLanding.service.ts b/landingPages/result/resultLanding.service.ts
index ad8bec01..6c9b1d1d 100644
--- a/landingPages/result/resultLanding.service.ts
+++ b/landingPages/result/resultLanding.service.ts
@@ -396,6 +396,15 @@ export class ResultLandingService {
if (author.orcid_pending) {
author.orcid_pending = author.orcid_pending.toUpperCase();
}
+
+ if(this.resultLandingInfo['authors'][author.rank] && this.resultLandingInfo['authors'][author.rank].fullName == author.content) {
+ if(!author.orcid && this.resultLandingInfo['authors'][author.rank].orcid) {
+ author.orcid = this.resultLandingInfo['authors'][author.rank].orcid;
+ } else if(!author.orcid_pending && this.resultLandingInfo['authors'][author.rank].orcid_pending) {
+ author.orcid_pending = this.resultLandingInfo['authors'][author.rank].orcid_pending;
+ }
+ }
+
this.resultLandingInfo['authors'][author.rank] = {
"fullName": author.content,
"orcid": author.orcid,
diff --git a/monitor-admin/manageStakeholders/manageStakeholders.component.less b/monitor-admin/manageStakeholders/manageStakeholders.component.less
index df782d1d..ee7a7aaa 100644
--- a/monitor-admin/manageStakeholders/manageStakeholders.component.less
+++ b/monitor-admin/manageStakeholders/manageStakeholders.component.less
@@ -2,7 +2,7 @@
@import (optional) "~src/assets/extend-theme/less/color.less";
.setType(@color) {
- border-bottom: 4px solid fade(@color, 30%);
+ border-bottom: 4px solid if(@color = none, none, fade(@color, 30%));
& .type {
color: @color;
diff --git a/services/searchResearchResults.service.ts b/services/searchResearchResults.service.ts
index 17719ce9..37969439 100644
--- a/services/searchResearchResults.service.ts
+++ b/services/searchResearchResults.service.ts
@@ -348,6 +348,15 @@ export class SearchResearchResultsService {
if (author.orcid_pending) {
author.orcid_pending = author.orcid_pending.toUpperCase();
}
+
+ if(result['authors'][author.rank] && result['authors'][author.rank].fullName == author.content) {
+ if(!author.orcid && result['authors'][author.rank].orcid) {
+ author.orcid = result['authors'][author.rank].orcid;
+ } else if(!author.orcid_pending && result['authors'][author.rank].orcid_pending) {
+ author.orcid_pending = result['authors'][author.rank].orcid_pending;
+ }
+ }
+
result['authors'][author.rank] = {
"fullName": author.content,
"orcid": author.orcid,
diff --git a/utils/properties/environments/environment.ts b/utils/properties/environments/environment.ts
index 6005b3d9..f462caeb 100644
--- a/utils/properties/environments/environment.ts
+++ b/utils/properties/environments/environment.ts
@@ -10,7 +10,7 @@ export let common: EnvProperties = {
searchOrcidURL: "https://pub.orcid.org/v2.1/",
orcidURL: "https://orcid.org/",
orcidAPIURL: "https://services.openaire.eu/uoa-orcid-service/",
- orcidTokenURL : "https://orcid.org/oauth/authorize?",
+ orcidTokenURL: "https://orcid.org/oauth/authorize?",
orcidClientId: "APP-IN0O56SBVVTB7NN4",
doiURL: "https://doi.org/",
pmcURL: "http://europepmc.org/articles/",
@@ -80,22 +80,20 @@ export let common: EnvProperties = {
footerGrantText: "OpenAIRE has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreements No. 777541 and 101017452",
//connect
- enermapsURL:"https://lab.idiap.ch/enermaps",
+ enermapsURL: "https://lab.idiap.ch/enermaps",
zenodoCommunities: 'https://zenodo.org/api/communities',
shareInZenodoPage: '/participate/deposit/zenodo',
afterLoginRedirectLink: '/myCommunities',
searchLinkToCommunities: '/search/find/communities',
-
- openOrgsUrl:"https://beta.orgs.openaire.eu"
-
+ openOrgsUrl:"https://beta.orgs.openaire.eu",
}
export let commonDev: EnvProperties = {
environment: "development",
pdfStatisticsAPIURL: "https://beta.services.openaire.eu/pdf-stats",
- statisticsAPIURL: "http://vatopedi.di.uoa.gr:8080/stats/",
+ statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/",
statisticsFrameAPIURL: "https://beta.openaire.eu/stats/",
- statisticsFrameNewAPIURL: "https://stats.madgik.di.uoa.gr/stats-api/",
+ statisticsFrameNewAPIURL: "https://beta.services.openaire.eu/stats-tool/",
claimsAPIURL: "http://scoobydoo.di.uoa.gr:8880/dnet-claims-service-2.0.0-SNAPSHOT/rest/claimsService/",
searchAPIURLLAst: "http://beta.services.openaire.eu/search/v2/api/",
searchResourcesAPIURL: "https://beta.services.openaire.eu/search/v2/api/resources",
@@ -103,7 +101,7 @@ export let commonDev: EnvProperties = {
openCitationsAPIURL: "https://services.openaire.eu/opencitations/getCitations?id=",
csvAPIURL: "https://beta.services.openaire.eu/search/v2/api/reports",
orcidAPIURL: "http://duffy.di.uoa.gr:19480/uoa-orcid-service/",
- orcidTokenURL : "https://sandbox.orcid.org/oauth/authorize?",
+ orcidTokenURL: "https://sandbox.orcid.org/oauth/authorize?",
orcidClientId: "APP-A5M3KTX6NCN67L91",
utilsService: "http://mpagasas.di.uoa.gr:8000",
vocabulariesAPI: "https://dev-openaire.d4science.org/provision/mvc/vocabularies/",
@@ -203,7 +201,7 @@ export let commonBeta: EnvProperties = {
export let commonProd: EnvProperties = {
environment: "production",
pdfStatisticsAPIURL: "https://services.openaire.eu/pdf-stats",
- statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/",
+ statisticsAPIURL: "https://services.openaire.eu/stats-api/",
statisticsFrameAPIURL: "https://www.openaire.eu/stats/",
statisticsFrameNewAPIURL: "https://services.openaire.eu/stats-tool/",
claimsAPIURL: "https://services.openaire.eu/claims-new/rest/claimsService/",
diff --git a/utils/result-preview/result-preview.component.html b/utils/result-preview/result-preview.component.html
index 016ca66e..306d2128 100644
--- a/utils/result-preview/result-preview.component.html
+++ b/utils/result-preview/result-preview.component.html
@@ -222,7 +222,7 @@
-
OA Routes
+
Access Routes
diff --git a/utils/staticAutoComplete/ISVocabularies.service.ts b/utils/staticAutoComplete/ISVocabularies.service.ts
index 074afa4e..7a880f44 100644
--- a/utils/staticAutoComplete/ISVocabularies.service.ts
+++ b/utils/staticAutoComplete/ISVocabularies.service.ts
@@ -143,28 +143,49 @@ export class ISVocabulariesService {
parseFOS(data: any): AutoCompleteValue[] {
let array: AutoCompleteValue[] = []
- for (let fos of data) {
+ let children = data.reverse();
+ while(children && children.length > 0) {
+ let fos = children.pop();
let value: AutoCompleteValue = new AutoCompleteValue();
value.id = fos.id;//data[i].code;
value.label = fos.label;
array.push(value);
- if(fos.children) {
- for (let fos2 of fos.children) {
- let value: AutoCompleteValue = new AutoCompleteValue();
- value.id = fos2.id;//data[i].code;
- value.label = fos2.label;
- array.push(value);
- if(fos2.children) {
- for (let fos3 of fos2.children) {
- let value: AutoCompleteValue = new AutoCompleteValue();
- value.id = fos3.id;//data[i].code;
- value.label = fos3.label;
- array.push(value);
- }
- }
+ if(fos.children && fos.children.length > 0) {
+ for (let i=fos.children.length-1; i>=0; i--) {
+ children.push(fos.children[i]);
}
}
}
+ // for (let fos of data) {
+ // let value: AutoCompleteValue = new AutoCompleteValue();
+ // value.id = fos.id;//data[i].code;
+ // value.label = fos.label;
+ // array.push(value);
+ // if(fos.children) {
+ // for (let fos2 of fos.children) {
+ // let value: AutoCompleteValue = new AutoCompleteValue();
+ // value.id = fos2.id;//data[i].code;
+ // value.label = fos2.label;
+ // array.push(value);
+ // if(fos2.children) {
+ // for (let fos3 of fos2.children) {
+ // let value: AutoCompleteValue = new AutoCompleteValue();
+ // value.id = fos3.id;//data[i].code;
+ // value.label = fos3.label;
+ // array.push(value);
+ // // if(fos3.children) {
+ // // for (let fos4 of fos3.children) {
+ // // let value: AutoCompleteValue = new AutoCompleteValue();
+ // // value.id = fos4.id;//data[i].code;
+ // // value.label = fos4.label;
+ // // array.push(value);
+ // // }
+ // // }
+ // }
+ // }
+ // }
+ // }
+ // }
return array;
}