From: Spiros Dimopulos Date: Thu, 30 Oct 2025 13:27:22 +0000 (+0200) Subject: DRYD-1914: Report > Anthro > Fix Notice of Inventory Completion Report (#483) X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=6d2c12af93ff6c207456ee4ae561ac68508e8b3e;p=tmp%2Fjakarta-migration.git DRYD-1914: Report > Anthro > Fix Notice of Inventory Completion Report (#483) DRYD-1914: added showing object category name in Object Category Count of notice_of_inventory_completion report; --- diff --git a/services/report/3rdparty/jasper-cs-report/src/main/resources/notice_of_inventory_completion.jrxml b/services/report/3rdparty/jasper-cs-report/src/main/resources/notice_of_inventory_completion.jrxml index 73ba0c970..b4b753d6d 100644 --- a/services/report/3rdparty/jasper-cs-report/src/main/resources/notice_of_inventory_completion.jrxml +++ b/services/report/3rdparty/jasper-cs-report/src/main/resources/notice_of_inventory_completion.jrxml @@ -13,7 +13,7 @@ - + @@ -55,6 +55,7 @@ SELECT nt.item AS notice_type, coalesce(object_count_afo.object_count_afo, 0) as object_count_afo, coalesce(object_category.object_category_units, '{}') AS object_category_units, coalesce(object_category.object_category_counts, '{}') AS object_category_counts, + coalesce(object_category.object_category_categories, '{}') AS object_category_categories, coalesce(object_names.object_names, '{}') as object_names, coalesce(object_names.controlled_object_names, '{}') AS controlled_object_names, coalesce(acquisition_data.acquisition_numbers, '{}') as acquisition_numbers, @@ -120,7 +121,8 @@ FROM hierarchy LEFT JOIN LATERAL ( SELECT category_hierarchy.parentid, array_agg(category.categorycountunit) AS object_category_units, - array_agg(category.categorycount) AS object_category_counts + array_agg(category.categorycount) AS object_category_counts, + array_agg(category.category) AS object_category_categories FROM hierarchy category_hierarchy INNER JOIN objectcategorygroup category ON category.id = category_hierarchy.id WHERE category_hierarchy.name = 'collectionobjects_objectcategory_extension:objectCategoryGroupList' @@ -230,6 +232,10 @@ $P!{whereclause}]]> + + + + @@ -402,14 +408,18 @@ $P!{whereclause}]]> - !!value).join('; ') + !!value).join('; ') ]]>