From 131bec9d17328156071655390ea83a7717f3b52d Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Thu, 19 May 2022 19:08:04 +0300 Subject: [PATCH] [Library | new-theme]: Improvements & Do not show "Add to ORCID" button in search datasources with pids. 1. dataProvider.component.ts: In method "searchRelatedDatasources()", size can be always 0 (refine query). 2. advancedSearchForm.component.html: [Bug fix] Make all the button line clickable and functional in advanced search form. 3. result-preview.component.ts: Added get method "isResultType()" which checks if result.resultType is result, publication, dataset, software, other. 4. result-preview.component.html: [Bug fix] Call (add/remove from ORCID buttons) only for results - check for identifiers is not enough, now datasources also have pids. --- explore/src/app/openaireLibrary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explore/src/app/openaireLibrary b/explore/src/app/openaireLibrary index 8a5d5d95..4ce80019 160000 --- a/explore/src/app/openaireLibrary +++ b/explore/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit 8a5d5d954a62f06cff0ff4487e720d9832d21bee +Subproject commit 4ce80019e7a6bdf0dfc22eb1cf31c8e9948d7756