[EOSC] removed filtering out of organization without name

This commit is contained in:
Miriam Baglioni 2024-02-15 14:58:41 +01:00
parent 95ff4a81dc
commit 1c06aae1c6
1 changed files with 3 additions and 3 deletions

View File

@ -335,9 +335,9 @@ public class ExtendEoscResultWithOrganizationStep2 implements Serializable {
private static boolean isToBeRemovedOrg(Organization org) {
if (Boolean.TRUE.equals(org.getDataInfo().getDeletedbyinference()))
return true;
if (!Optional.ofNullable(org.getLegalname()).isPresent()
&& !Optional.ofNullable(org.getLegalshortname()).isPresent())
return true;
// if (!Optional.ofNullable(org.getLegalname()).isPresent()
// && !Optional.ofNullable(org.getLegalshortname()).isPresent())
// return true;
return false;
}