From 60966d228fb0a944d646c65ecb3e7ae01d54e555 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 17 Dec 2024 16:59:44 +0000 Subject: [PATCH] Bug 38732: Add copy number column to manage bundles table To test: 1. APPLY PATCH and restart_all 2. Go to an item record and click 'Manage bundle' 3. Make sure the item you are adding has a copy number. 4. Look at the bundle_table and notice the copy number displaying. 5. Make sure you can hide the column ( Gear icon: Columns ) and via Table settings. --- admin/columns_settings.yml | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index cf3beff558..232c2afe7a 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -635,6 +635,8 @@ modules: cannot_be_toggled: 1 - columnname: author + - + columnname: copynumber - columnname: callnumber - diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 999258932b..e25e6d44a2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -1730,6 +1730,12 @@ "searchable": true, "orderable": true, }, + { + "data": "copy_number", + "title": _("Copy number"), + "searchable": true, + "orderable": true, + }, { "data": "callnumber", "title": _("Callnumber"), -- 2.39.2