From fa99e1a9bfaa5f5c043eb53d7824959b606d10e5 Mon Sep 17 00:00:00 2001 From: andrej romanov <50377758+auumgn@users.noreply.github.com> Date: Fri, 11 Oct 2024 20:52:40 +0300 Subject: [PATCH] configure mapper to process verification dates --- .../java/org/orcid/core/adapter/v3/impl/MapperFacadeFactory.java | 1 + 1 file changed, 1 insertion(+) diff --git a/orcid-core/src/main/java/org/orcid/core/adapter/v3/impl/MapperFacadeFactory.java b/orcid-core/src/main/java/org/orcid/core/adapter/v3/impl/MapperFacadeFactory.java index f0c2c2f28b9..0e0cb01658b 100644 --- a/orcid-core/src/main/java/org/orcid/core/adapter/v3/impl/MapperFacadeFactory.java +++ b/orcid-core/src/main/java/org/orcid/core/adapter/v3/impl/MapperFacadeFactory.java @@ -500,6 +500,7 @@ public MapperFacade getEmailMapperFacade() { emailClassMap.field("primary", "primary"); emailClassMap.field("verified", "verified"); emailClassMap.fieldMap("visibility", "visibility").converter("visibilityConverter").add(); + emailClassMap.field("verificationDate.value", "dateVerified"); addV3DateFields(emailClassMap); registerSourceConverters(mapperFactory, emailClassMap); emailClassMap.register();