From adab64c1c750d8cec24b20fc67b96ab6ff44e88a Mon Sep 17 00:00:00 2001 From: Matt Weaver Date: Thu, 27 Jun 2024 08:41:24 -0700 Subject: [PATCH] MODFQMMGR-346 Make service_point_ids in Locations non-queryable --- .../resources/entity-types/inventory/simple_locations.json5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/entity-types/inventory/simple_locations.json5 b/src/main/resources/entity-types/inventory/simple_locations.json5 index 029ff981..9ac260c9 100644 --- a/src/main/resources/entity-types/inventory/simple_locations.json5 +++ b/src/main/resources/entity-types/inventory/simple_locations.json5 @@ -163,7 +163,7 @@ }, }, sourceAlias: 'location', - queryable: true, + queryable: false, visibleByDefault: false, valueGetter: "(SELECT array_agg(sp_id.value::text) FILTER (WHERE (sp_id.value::text) IS NOT NULL) AS array_agg FROM jsonb_array_elements_text(:sourceAlias.jsonb -> 'servicePointIds'::text) sp_id(value))", filterValueGetter: "( SELECT array_agg(lower(sp_id.value::text)) FILTER (WHERE (sp_id.value::text) IS NOT NULL) AS array_agg FROM jsonb_array_elements_text(:sourceAlias.jsonb -> 'servicePointIds'::text) sp_id(value))",