From 58d4a9393b1b3717920bd0fcfaa23a086ead932f Mon Sep 17 00:00:00 2001 From: Serafeim Chatzopoulos Date: Tue, 16 Jul 2024 11:35:22 +0300 Subject: [PATCH] Change default filters in organizations --- .../openaire/api/mappers/query/OrganizationRequestMapper.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/eu/openaire/api/mappers/query/OrganizationRequestMapper.java b/src/main/java/eu/openaire/api/mappers/query/OrganizationRequestMapper.java index 4e40bf0..80b6fa3 100644 --- a/src/main/java/eu/openaire/api/mappers/query/OrganizationRequestMapper.java +++ b/src/main/java/eu/openaire/api/mappers/query/OrganizationRequestMapper.java @@ -54,8 +54,7 @@ public interface OrganizationRequestMapper { fqList.add(String.format("oaftype:\"%s\"", "organization")); fqList.add(String.format("deletedbyinference:%s", "false")); - fqList.add(String.format("reldatasourcecompatibilityid:(%s)", "\"driver\" OR \"driver-openaire2.0\" OR \"openaire2.0\" OR \"openaire3.0\" OR \"openaire4.0\" OR \"openaire-cris_1.1\" OR \"openaire2.0_data\" OR \"hostedBy\"")); - fqList.add(String.format("relproject:%s", "[ * TO * ]")); + fqList.add(String.format("reldatasourcecompatibilityid:(%s) OR relproject:[* TO *]", "\"driver\" OR \"driver-openaire2.0\" OR \"openaire2.0\" OR \"openaire3.0\" OR \"openaire4.0\" OR \"openaire-cris_1.1\" OR \"openaire2.0_data\" OR \"hostedBy\"")); fqList.add(String.format("-status:\"%s\"", "under curation")); if (!Utils.isNullOrEmpty(src.getId())) {