From 4784d5a4d51f4519512aadb10ac1c6a11a1c2fa6 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 13 Apr 2023 13:32:54 +0200 Subject: [PATCH] Bug 33568: Restore class names on th's MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Owen Leonard Signed-off-by: Laurence Rault Signed-off-by: Emily Lamancusa Signed-off-by: Tomás Cohen Arazi --- .../prog/en/modules/catalogue/detail.tt | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) 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 d6c9b7ee295..4f60d86bbe8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -2518,6 +2518,7 @@ [% IF Koha.Preference('LocalCoverImages') && ( tab == 'holdings' && itemloop_has_images || tab == 'otherholdings' && otheritemloop_has_images ) %] { data: "", + className: "cover", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2528,6 +2529,7 @@ [% IF ( item_level_itypes ) %] { data: "me.effective_item_type_id", + className: "itype", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2546,6 +2548,7 @@ [% END %] { data: "me.holding_library_id", + className: "location", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2554,6 +2557,7 @@ }, { data: "me.home_library_id", + className: "homebranch", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2574,6 +2578,7 @@ [% IF Koha.Preference('EnableItemGroups') %] { data: "", + className: "item_group", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2583,6 +2588,7 @@ [% END %] { data: "me.callnumber", + className: "itemcallnumber", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2593,6 +2599,7 @@ [% IF volinfo %] { data: "", + className: "enumchron", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2602,6 +2609,7 @@ [% END %] { data: "", + className: "status", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2610,6 +2618,7 @@ }, { data: "me.last_seen_date", + className: "datelastseen", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2618,6 +2627,7 @@ }, { data: "me.checkouts_count", + className: "issues", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2626,6 +2636,7 @@ }, { data: "me.renewals_count", + className: "renewals", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2634,6 +2645,7 @@ }, { data: "me.acquisition_date", + className: "dateaccessioned", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2642,6 +2654,7 @@ }, { data: "me.last_checkout_date", + className: "datelastborrowed", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2650,6 +2663,7 @@ }, { data: "me.external_id", + className: "", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2659,6 +2673,7 @@ [% IF itemdata_uri %] { data: "me.uri", + className: "uri", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2669,6 +2684,7 @@ [% IF ( itemdata_copynumber ) %] { data: "me.copy_number", + className: "copynumber", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2679,6 +2695,7 @@ [% IF ( itemdata_stocknumber ) %] { data: "me.inventory_number", + className: "stocknumber", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2689,6 +2706,7 @@ [% IF materials %] { data: "me.materials_notes", + className: "materials", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2699,6 +2717,7 @@ [% IF ( itemdata_itemnotes ) %] { data: "me.public_notes", + className: "itemnotes", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2709,6 +2728,7 @@ [% IF itemdata_nonpublicnotes %] { data: "me.internal_notes", + className: "nonpublicnote", searchable: true, orderable: true, render: function (data, type, row, meta) { @@ -2762,6 +2782,7 @@ let result = 'Edit + Delete'; // FIXME Add links return result; }, + className: "actions", searchable: false, orderable: false } -- 2.34.1