From 40700daf24d6e54e6634dcf8ec2c229df46d256a Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Wed, 18 May 2022 12:31:46 +0300 Subject: [PATCH] [Explore & Library | new-theme]: Fixes for orcid dropdown in authors and increase timeout for addThis check for warning. 1. app.component.ts: [Bug fix] First menu item under "Search", set to OpenaireEntities.RESULTS. 2. searchFields.ts: Renamed OpenaireEntities.DATASOURCE to "Data source". 3. addThis.component.ts: [Bug fix] Check for showing warning was missing a not (!). --- explore/src/app/app.component.ts | 2 +- explore/src/app/openaireLibrary | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/explore/src/app/app.component.ts b/explore/src/app/app.component.ts index 67843946..a2e058e2 100644 --- a/explore/src/app/app.component.ts +++ b/explore/src/app/app.component.ts @@ -106,7 +106,7 @@ export class AppComponent { } buildMenu() { - let researchOutcomesMenu = new MenuItem("", OpenaireEntities.PUBLICATIONS, "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {resultbestaccessright: '"' + encodeURIComponent("Open Access") + '"'}); + let researchOutcomesMenu = new MenuItem("", OpenaireEntities.RESULTS, "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {resultbestaccessright: '"' + encodeURIComponent("Open Access") + '"'}); researchOutcomesMenu.items = [ new MenuItem("", OpenaireEntities.PUBLICATIONS, "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {type: '"' + encodeURIComponent("publications") + '"'}), new MenuItem("", OpenaireEntities.DATASETS, "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {type: '"' + encodeURIComponent("datasets") + '"'}), diff --git a/explore/src/app/openaireLibrary b/explore/src/app/openaireLibrary index 9577c784..5fbdac1d 160000 --- a/explore/src/app/openaireLibrary +++ b/explore/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit 9577c7841d5671d86f1c9c1252384c2508bc3c73 +Subproject commit 5fbdac1dc3d43ae72a6b9fff510f707f4b597f24