From 6138ef1acb2909d6ae1084b1f7b4f18f3bcebe2a Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 1 Jul 2022 12:43:12 +0100 Subject: [PATCH] Bug 28854: (follow-up) Remove fields from from bundle items This patch removes the itemtype and collection code fields from the bundle items table. We will add the itemtype back in at a later date with a new bug as the display code needs some careful consideration and we felt that doing that work inline here would be an unrequired blocker. Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- admin/columns_settings.yml | 4 ---- .../prog/en/modules/catalogue/detail.tt | 14 +------------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 85a0d4356d..3f146593e6 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -532,10 +532,6 @@ modules: cannot_be_toggled: 1 - columnname: author - - - columnname: collection_code - - - columnname: item_type - 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 3d9d33125e..14ac3460a4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -1644,7 +1644,7 @@ Note that permanent location is a code, and location may be an authval. ], "order": [[ 1, "asc" ]], "columnDefs": [ { - "targets": [0,1,2,3,4,5], + "targets": [0,1,2,3], "render": function (data, type, row, meta) { if ( data && type == 'display' ) { return data.escapeHtml(); @@ -1668,18 +1668,6 @@ Note that permanent location is a code, and location may be an authval. "searchable": true, "orderable": true, }, - { - "data": "collection_code", - "title": _("Collection"), - "searchable": true, - "orderable": true, - }, - { - "data": "item_type", - "title": _("Item type"), - "searchable": false, - "orderable": true, - }, { "data": "callnumber", "title": _("Callnumber"), -- 2.39.5