diff --git a/src/main/resources/entity-types/inventory/composite_item_details.json5 b/src/main/resources/entity-types/inventory/composite_item_details.json5 index 99a16048..c65fd879 100644 --- a/src/main/resources/entity-types/inventory/composite_item_details.json5 +++ b/src/main/resources/entity-types/inventory/composite_item_details.json5 @@ -25,6 +25,7 @@ alias: 'effective_call_number', type: 'entity-type', id: 'd9338ced-3e71-4f24-b605-7912d590f005', // simple_call_number_type + essentialOnly: true, join: { type: 'left join', joinTo: 'items.item', @@ -35,6 +36,7 @@ alias: 'item_level_call_number', type: 'entity-type', id: 'd9338ced-3e71-4f24-b605-7912d590f005', // simple_call_number_type + essentialOnly: true, join: { condition: "(:that.jsonb ->> 'itemLevelCallNumberTypeId')::uuid = :this.id", type: 'left join', diff --git a/src/main/resources/entity-types/inventory/simple_call_number_type.json5 b/src/main/resources/entity-types/inventory/simple_call_number_type.json5 index 0c761cd9..57120d3b 100644 --- a/src/main/resources/entity-types/inventory/simple_call_number_type.json5 +++ b/src/main/resources/entity-types/inventory/simple_call_number_type.json5 @@ -22,6 +22,8 @@ isIdColumn: true, queryable: true, visibleByDefault: false, + hidden: true, + essential: true, valueGetter: ':sourceAlias.id', }, { @@ -32,6 +34,7 @@ }, queryable: true, visibleByDefault: false, + essential: true, valueGetter: ":sourceAlias.jsonb->>'name'", filterValueGetter: "lower(\ ${tenant_id}_mod_inventory_storage.f_unaccent (:sourceAlias.jsonb->>'name'::text)\ @@ -56,6 +59,7 @@ }, queryable: true, visibleByDefault: false, + hidden: true, valueGetter: ":sourceAlias.jsonb->>'source'", }, { @@ -66,6 +70,7 @@ }, queryable: true, visibleByDefault: false, + hidden: true, valueGetter: ":sourceAlias.jsonb->'metadata'->>'createdDate'", }, { @@ -76,6 +81,7 @@ }, queryable: true, visibleByDefault: false, + hidden: true, valueGetter: ":sourceAlias.jsonb->'metadata'->>'updatedDate'", }, { @@ -86,6 +92,7 @@ }, queryable: true, visibleByDefault: false, + hidden: true, valueGetter: ":sourceAlias.jsonb->'metadata'->>'createdByUserId'", }, { @@ -96,6 +103,7 @@ }, queryable: true, visibleByDefault: false, + hidden: true, valueGetter: ":sourceAlias.jsonb->'metadata'->>'updatedByUserId'", }, { @@ -106,6 +114,7 @@ }, queryable: true, visibleByDefault: false, + hidden: true, valueGetter: ":sourceAlias.jsonb->'metadata'->>'createdByUsername'", }, { @@ -116,6 +125,7 @@ }, queryable: true, visibleByDefault: false, + hidden: true, valueGetter: ":sourceAlias.jsonb->'metadata'->>'updatedByUsername'", }, { @@ -127,6 +137,7 @@ queryable: false, visibleByDefault: false, hidden: true, + essential: true, valueGetter: ":sourceAlias.jsonb::text", } ],