Skip to content

Commit

Permalink
Remove duplicate solr entities code (#7047)
Browse files Browse the repository at this point in the history
* Remove duplicate solr entities code

* Fixed setting the names for locations json
  • Loading branch information
Camelia-Orcid authored Jul 3, 2024
1 parent b9c6ac3 commit 2c51913
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 2,613 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ private OrgDisambiguatedSolrDocument convertEntityToDocument(OrgDisambiguatedEnt
}

if(entity.getNamesJson() != null) {
document.setOrgLocationsJson(entity.getNamesJson());
document.setOrgNamesJson(entity.getNamesJson());
}

List<OrgEntity> orgs = orgDao.findByOrgDisambiguatedId(entity.getId());
Expand Down
Loading

0 comments on commit 2c51913

Please sign in to comment.