diff --git a/connect/connectHelper.ts b/connect/connectHelper.ts index 18c60846..0e9d1e43 100644 --- a/connect/connectHelper.ts +++ b/connect/connectHelper.ts @@ -12,7 +12,7 @@ export class ConnectHelper { if(properties.environment == "development" && (properties.adminToolsPortalType == "connect" || properties.adminToolsPortalType == "community" || properties.adminToolsPortalType == "aggregator" || properties.adminToolsPortalType == "eosc")) { - domain = "covid-19.openaire.eu"; //for testing + // domain = "covid-19.openaire.eu"; //for testing } domain = domain.indexOf("//") != -1? domain.split("//")[1]:domain; //remove https:// prefix if (domain.indexOf('eosc-portal.eu') != -1) { diff --git a/utils/properties/env-properties.ts b/utils/properties/env-properties.ts index 1932596d..f518f97f 100644 --- a/utils/properties/env-properties.ts +++ b/utils/properties/env-properties.ts @@ -8,6 +8,7 @@ export interface EnvProperties { adminToolsPortalType?: PortalType; dashboard?: Dashboard; isDashboard?: boolean; + plan?:string; domain?: string; enablePiwikTrack?: boolean; useCache?: boolean; diff --git a/utils/properties/searchFields.base.ts b/utils/properties/searchFields.base.ts index 4d25b6ec..effe8ade 100644 --- a/utils/properties/searchFields.base.ts +++ b/utils/properties/searchFields.base.ts @@ -349,7 +349,15 @@ export class SearchFieldsBase { operator: "hl", equalityOperator: " = ", filterType: "triplet" - } + }, + ["relorganization"]: { + name: OpenaireEntities.ORGANIZATION, + type: "refine", + param: "organization", + operator: "or", + equalityOperator: " exact ", + filterType: "checkbox" + }, }; public RESULT_STATIC_FIELD_VALUES: { [key: string]: {"name": string, "id": string, "count": string}[] } = {