From 1bc88bd341f568aa3d5ffd09ca8b3c7abecce0bf Mon Sep 17 00:00:00 2001 From: Camelia Dumitru Date: Wed, 3 Jul 2024 16:24:18 +0100 Subject: [PATCH] Fixed setting the names for locations json --- .../orcid/core/manager/impl/OrgDisambiguatedManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orcid-core/src/main/java/org/orcid/core/manager/impl/OrgDisambiguatedManagerImpl.java b/orcid-core/src/main/java/org/orcid/core/manager/impl/OrgDisambiguatedManagerImpl.java index f9120a548b2..0d25b443b34 100644 --- a/orcid-core/src/main/java/org/orcid/core/manager/impl/OrgDisambiguatedManagerImpl.java +++ b/orcid-core/src/main/java/org/orcid/core/manager/impl/OrgDisambiguatedManagerImpl.java @@ -159,7 +159,7 @@ private OrgDisambiguatedSolrDocument convertEntityToDocument(OrgDisambiguatedEnt } if(entity.getNamesJson() != null) { - document.setOrgLocationsJson(entity.getNamesJson()); + document.setOrgNamesJson(entity.getNamesJson()); } List orgs = orgDao.findByOrgDisambiguatedId(entity.getId());