From 5d21dde2643eb5c3122018388be24f6f88600204 Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Tue, 15 Mar 2022 23:31:10 +0200 Subject: [PATCH] [Library]: Fixes (major: Parsing of organizations in result landing) & Addition of "FOS" and "SDGs" in result refine filters and result landing pages. 1. searchFields.ts: Added fos & sdg refine filters for research results. 2. resultLandingInfo.ts: Added string arrays "fos" and "sdg". 3. HelperFunctions.class.ts: Added method for sdg sorting (splits value, keeps only number before dot and compares numerically). 4. searchResearchResults.service.ts: [Bug fix] when parsing "dateofacceptance", stringify it only if it has a value. 5. searchFilter.component.ts: When sorting filters, sort differently SDGs. 6. resultLanding.service.ts: a. [Bug fix] Fix in parsing subtitle. b. [Bug fix] Parsing of "Related organizations" was accidentally deleted when parsing of relations changed. c. Parse "FOS" and "SDGs" in their specific fields, separately from subjects. 7. resultLanding.component.ts: a. [Bug fix] Do not make call for opencitations (deprecated). b. Updated method "hasPrimaryInfo()": Description is now array and added checks for organizations. 8. resultLanding.component.html: Display of "FOS" and "SDGs" separately from subjects. 9. showPublisher.component.ts: [Bug fix] Remove from html name of developer! 10. parsingFunctions.class.ts: Parse "FOS" and "SDGs" in their specific fields, separately from subjects. 11. metrics.component.ts: [Bug fix] Default value of "metricsClicked" should be false. --- 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 514cd0dd..6759508f 160000 --- a/explore/src/app/openaireLibrary +++ b/explore/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit 514cd0dd12407f0b3c09d5f20c39a546888165a9 +Subproject commit 6759508fb63649e82fa1b859f480f85d56940ab7