CompatibilityClasses fix

This commit is contained in:
Konstantinos Spyrou 2022-09-06 13:55:05 +00:00
parent 2afd3ef412
commit 0590efba9a
1 changed files with 1 additions and 1 deletions

View File

@ -820,7 +820,7 @@ public class RepositoryServiceImpl implements RepositoryService {
}
//TODO TO BE REMOVED WHEN VOCABULARIES ARE UPDATED
if (mode.equalsIgnoreCase(Constants.REPOSITORY_MODE_RE3DATA) && !foundData)
if ((mode.equalsIgnoreCase("repository") || mode.equalsIgnoreCase(Constants.REPOSITORY_MODE_RE3DATA)) && !foundData)
retMap.put("openaire2.0_data", "OpenAIRE Data (funded, referenced datasets)");
return retMap;